[Haskell-cafe] Need an example of new type constructor with zero data constructors
jhenahan at me.com
Fri Aug 12 14:52:41 UTC 2016
I haven't used Void enough to really be able to answer this, so here are
some links to information about the empty type.
Hope that helps.
James Brown <james.brown5374 at gmail.com> writes:
> In the Haskell report 2010, a data declaration has the format of:
> For a new type, there could be zero or more data constructors. What's the
> use case for a new type that has zero data constructor?
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 800 bytes
Desc: not available
More information about the Haskell-Cafe