klequis / zz-haskell-notebook

Notes from learning Haskell
1 stars 0 forks source link

`newtype` #57

Open klequis opened 2 years ago

klequis commented 2 years ago

newtype is a special case of data declaration. ` is different in that it permits only one constructor and only one field.