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⑈ _______________________________________________ Haskell-prime mailing list [email protected] http://haskell.org/mailman/listinfo/haskell-prime
