Type and data type refer to exactly the same concept.
The Haskell keywords type
and data
are different, though: data
allows you to introduce a new algebraic data type, while type
just makes a type synonym.
See the Haskell wiki for details.
Type and data type refer to exactly the same concept.
The Haskell keywords type
and data
are different, though: data
allows you to introduce a new algebraic data type, while type
just makes a type synonym.
See the Haskell wiki for details.