[Haskell-cafe] One question...

Neil Mitchell ndmitchell at gmail.com
Sat Dec 9 12:05:07 EST 2006


Hi Waldmar,

> Now my problem is connected with the "non-update" object feature.
> I can't write "variable" instead object because - from the meaning of the word
> ( variable ) - it has the possibility to CHANGE its value.
> Yes that my problem :-(
>

main = do
    username <- read_info_from_user
    do_whatever_is_needed
    print username

Try not to think of this too hard. Once you start learning Haskell
you'll suddenly realise a lot of the problems just don't happen if you
think the Haskell way.

Thanks

Neil


More information about the Haskell-Cafe mailing list