[Haskell-cafe] Need an example of new type constructor with zero data constructors
James Brown
james.brown5374 at gmail.com
Fri Aug 12 15:16:16 UTC 2016
What's the purpose to allow data declarations with no constructors?
On Fri, Aug 12, 2016 at 11:08 AM, Sergey N. Yashin <yashin.sergey at gmail.com>
wrote:
> For zero data constructors you need to use only EmptyDataDecls
> <https://prime.haskell.org/wiki/EmptyDataDecls> extension.
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160812/7abbf77f/attachment.html>
More information about the Haskell-Cafe
mailing list