[Haskell-cafe] Re: Controlling scope using monadic classes

Daniel McAllansmith dagda at xtra.co.nz
Thu May 18 17:05:53 EDT 2006


On Wednesday 17 May 2006 19:55, oleg at pobox.com wrote:
> Daniel McAllansmith wrote:
> > I'm trying to control the scope within which functions can be used by
> > putting them in a type class.  Unfortunately I can't seem to figure
> > out how to get it done.  Any advice would be much appreciated.
>
> Hopefully the following is close to what you wanted. 

Excellent, looks like that'll do the trick.  Thanks, Oleg.
And I'll be sure to take a look at your monadic-regions examples.

Cheers
Daniel


More information about the Haskell-Cafe mailing list