Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Haskell Programming
Rating: 4.1 out of 5(131 ratings)
2,938 students

Haskell Programming

Learn the Haskell Programming language, for Beginners
Created byPeter A
Last updated 4/2019
English
English [Auto],

What you'll learn

  • Functional programming with Haskell
  • Haskell basics
  • A new way of thinking about programming (Functional)
  • Learn concepts like Recursion, Lambda functions and more

Course content

1 section14 lectures52m total length
  • Installation0:04
  • Introduction6:38

    Explore the haskell.org online shell to evaluate expressions, numbers, strings, and lists, and learn sorting with sort. Discover tuples, immutability, and using fst and snd for first and second elements.

  • Functions, Let and If6:23

    Explore Haskell basics by defining functions like m+ and sq, saving files as dot hs, loading with colon load, and using let, if else, and comments to build simple programs.

  • Lists6:31

    Explore Haskell lists in the interactive shell: create and name lists, access elements by zero-based indices, and use functions like length, last, init, null, and sum.

  • List Comprehension (numbers)4:40

    Explore list comprehension in Haskell by building expressions with ranges, applying predicates to filter results, and producing powers of two, sums, and coordinate pairs.

  • List Comprehension (strings)2:32

    Explore how strings are lists and how to use list comprehensions to filter characters like commas and question marks in Haskell, and filter lists of strings while data remains immutable.

  • Tuples vs Lists3:44

    Compare lists and tuples in Haskell, highlighting that lists have a length attribute and uniform types, while tuples allow multiple types and zip works on lists but not on tuples.

  • Functions4:28

    Explore how to define and call functions in Haskell, including add and square, with explicit data types and examples using integers and floating point numbers.

  • Recursion2:40

    Learn recursion in Haskell programming, where functions call themselves with a base case to replace loops, illustrated by the factorial function.

  • Modules2:06
  • Higher Order Functions6:00

    Explore higher order functions in Haskell, learning how functions can be passed as arguments or returned as results, with map examples and the concept of currying and single-argument functions.

  • Lambda functions2:29

    Learn how lambda functions provide nameless, one-time helpers in Haskell, defined with a backslash and an arrow, and applied via map to lists for x+1 and x*x.

  • Foldl1:51

    Explore foldl, which applies a function to each list item from left to right with an initial value, using multiplication examples, and compare it to foldr from right to left.

  • Custom Data Types2:40

    Define data types in one line with a person type holding first name, last name, and email. Access fields and concatenate first name and last name to form full name.

Requirements

  • No prior requirements

Description

Learn programming with Haskell. Haskell is a functional programming language.  Learning Haskell helps you to think in a different way about a problem. You get a new way of thinking. There's also a job market for Haskell, so it may improve your career possibilities.

If you want to become a better programmer and learn something interesting, try Haskell. This is a beginners course

Who this course is for:

  • Beginner Haskell developers