16 Mar
2009
16 Mar
'09
4:25 a.m.
Hello, On Sunday 15 March 2009 23:18:41 Robin Cockett wrote:
There is one problem, of course: Haskell does not think this is legal as it thinks all datatypes should have at least one constructor.
With GHC you can have empty types if you include the {-# OPTIONS -XEmptyDataDecls #-} pragma :) Greetings, Daniel