exported pattern matching

John Meacham john at repetae.net
Thu Feb 9 17:27:16 EST 2006


On Thu, Feb 09, 2006 at 01:33:59AM -0500, Jim Apple wrote:
> Sometimes I'd like to use a smart constructor but have pattern
> matching as well. There has been talk elsewhere of allowing export of
> data constructors for /matching/ but not for /construction/:

Yes. this is a feature I have wanted too. I made a proposal and put it
on the wiki.

http://haskell.galois.com/cgi-bin/haskell-prime/trac.cgi/wiki/ReadonlyConstructors

        John
-- 
John Meacham - ⑆repetae.net⑆john⑈


More information about the Haskell-prime mailing list