concept type signature in category haskell

appears as: type signatures, type signature, The type signature, type signatures, type signature, The type signatures, The type signature
Get Programming with Haskell

This is an excerpt from Manning's book Get Programming with Haskell.

Functions also have type signatures. In Haskell an -> is used to separate arguments and return values. The type signature for double looks like figure 11.2.

Figure 11.2. Defining the double function by using a type signature

The type signature for map is as follows:

sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage