Re: [Haskell-cafe] [Redirect] polymorphism and existential types

2006-11-30 Thread Roberto Zunino
Donald Bruce Stewart wrote: Supposing a polymorphic value (of type, say, forall a . ExpT a t) is stored inside an existential package (of type, say, forall a . Exp a), I wonder how to recover a polymorphic value when eliminating the existential. The ``natural way'' to write this doesn't work:

[Haskell-cafe] [Redirect] polymorphism and existential types

2006-11-27 Thread Donald Bruce Stewart
Redirected to haskell-cafe@haskell.org, the right list. -- Don - Forwarded message from Louis-Julien Guillemette [EMAIL PROTECTED] - Date: Mon, 27 Nov 2006 16:15:26 -0500 (EST) From: Louis-Julien Guillemette Subject: [Haskell] polymorphism and existential types Supposing a polymorphic