[Haskell-beginners] Multiline code in GHCi
shishir.srivastava at gmail.com
Tue Aug 29 15:04:53 UTC 2017
Just revisiting haskell after a hiatus and to begin that with a rather
uncalled for query -
In the system type declaration for the data type Bool as below what are the
types of the two values 'True' and 'False'
*data Bool = False | True*
Are the values 'String' ? In which case how's the Bool data type different
from String enumerator data type ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners