RE: Contexts in Existential Types

2001-03-14 Thread Simon Peyton-Jones
List | Subject: Re: Contexts in Existential Types | | | At 2001-03-13 19:36, I wrote: | | Would it be appropriate for Haskell to be able to remember | contexts in | existential types? For instance, currently this does not | work in Hugs: | | -- | class Charable a where | obtainChar

Re: Contexts in Existential Types

2001-03-13 Thread Ashley Yakeley
At 2001-03-13 19:36, I wrote: Would it be appropriate for Haskell to be able to remember contexts in existential types? For instance, currently this does not work in Hugs: -- class Charable a where obtainChar :: a - Char instance Charable Char where obtainChar c = c data