Re: The keyword let

"Neil Mitchell" <[email protected]> Thu, 3 Aug 2006 18:03:56 +0100
Newsgroups gmane.comp.lang.haskell.hugs.user
Message-ID <[email protected]>
Hi,

> a simple question from a Hugs-Novice: Is it normal that WinHugs does not know the keyword "let"?

let x = 1 in x + x

This works fine, and is a standard Haskell let.

If however you mean GHCi's let:

let x = 1

Then next, use x, that doesn't work.

It would be lovely if this did work in Hugs, but it doesn't currently.

Thanks

Neil



On 8/3/06, Peter Heinig <[email protected]> wrote:
> Hello,
>
>
> Thanke you very much in advance,
>
> Christian
> --
>
>
> Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
> "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
> _______________________________________________
> Hugs-Users mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/hugs-users
>