ghci problem parsing where

Ian Lynagh igloo at earth.li
Mon Oct 1 06:10:53 EDT 2001


Using GHC Interactive, version 5.02:

Prelude> x where x = 5
<interactive>:1: parse error on input `where'

let works fine:

Prelude> let x = 5 in x
5


Ian





More information about the Glasgow-haskell-bugs mailing list