[Hugs-users] The keyword let

Neil Mitchell ndmitchell at gmail.com
Thu Aug 3 13:03:56 EDT 2006


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 <aldirithms at gmx.net> 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
> Hugs-Users at haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-users
>


More information about the Hugs-Users mailing list