klequis / zz-haskell-notebook

Notes from learning Haskell
1 stars 0 forks source link

Type synonym #72

Open klequis opened 2 years ago

klequis commented 2 years ago
  1. Two names for the same type

[Char] & String are two names for the same thing.

Example of creating a type synonym

type firstName = String