Writing Functions

In this lesson, we will write our first Haskell functions.

Basic function syntax

Let’s look at a simple example of a Haskell function that concatenates a string with itself:

Get hands-on with 1200+ tech skills courses.