[Hat] Qualified variable in pattern: T.mkRoot

Bernard Pope bjpop at cs.mu.OZ.AU
Thu Jun 30 01:38:45 EDT 2005


On Wed, 2005-06-29 at 16:47 +0100, Malcolm Wallace wrote:
> Thomas Davie <tatd2 at kent.ac.uk> writes:
> 
> > Okay, I see that, now I'm slightly intrigued -- if, as before, we have
> > 
> > Just foo = undefined
> > 

Sorry to jump in the middle of this discussion.

In Hat do you desugar the above code to:

   v = undefined
   foo = (\Just x -> x) v

Cheers,
Bernie.



More information about the Hat mailing list