
9 Feb
2006
9 Feb
'06
5:27 p.m.
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/ReadonlyConstr... John -- John Meacham - ⑆repetae.net⑆john⑈