cvs commit: fptools/ghc/compiler/hsSyn HsUtils.lhs fptools/ghc/compiler/typecheck TcRnDriver.lhs TcRnMonad.lhs TcUnify.lhs

Jim Apple japple at freeshell.org
Sun May 22 09:17:04 EDT 2005


Simon Peyton Jones wrote:

>   - For command-line 'let' and 'x<-e' forms, if exactly one variable
>     is bound, we print its value if it is Showable and not ()
>   	prompt> let x = 4
>   	4
>   	prompt> x <- return 5
>   	5

prompt> let ones = [1:x]

What am I to do if I want ones set, but not printed?

Jim



More information about the Glasgow-haskell-users mailing list