klequis / zz-haskell-notebook

Notes from learning Haskell
1 stars 0 forks source link

Nullary #50

Open klequis opened 2 years ago

klequis commented 2 years ago

In computer programming, a nullary constructor is a constructor that takes no arguments. Also known as a 0-argument constructor or no-argument constructors.

Source: Nullary constructor, Wikipedia

The above source is 1 of 3 sources where I found the same definition. One may assume it is the same in Haskell.