Re: [Haskell-cafe] Re: Why I Love Haskell In One Simple Example

2005-06-27 Thread Bernard Pope
On Mon, 2005-06-27 at 22:12 +0200, Mads Lindstrøm wrote: > > > I had newer seen anybody use "forall a." in function signatures before, > > > and therefore was curious about its effect. This is probably do to my > > > inexperience regarding Haskell. The "forall a." syntax is not Haskell 98. The u

Re: [Haskell-cafe] Re: Why I Love Haskell In One Simple Example

2005-06-27 Thread Mads Lindstrøm
Hi John Goerzen > On 2005-06-27, Mads Lindstrøm <[EMAIL PROTECTED]> wrote: > > Hi John > > > >> test :: forall a. (Num a) => a > >> test = 2 * 5 + 3 > > [ snip ] > > > I had newer seen anybody use "forall a." in function signatures before, > > and therefore was curious about its effect. This is

[Haskell-cafe] Re: Why I Love Haskell In One Simple Example

2005-06-27 Thread John Goerzen
On 2005-06-27, Mads Lindstrøm <[EMAIL PROTECTED]> wrote: > Hi John > >> test :: forall a. (Num a) => a >> test = 2 * 5 + 3 [ snip ] > I had newer seen anybody use "forall a." in function signatures before, > and therefore was curious about its effect. This is probably do to my > inexperience rega