You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code, which compiles with ghc, only compiles with frege when removing a space before where
moduleDoWherewhere
main =doprint x
where x =1
E DoWhere.hs:5: unexpected token "where" while trying to
parse do expression qualifiers
E DoWhere.hs:3: last statement in a monadic do block must
not be let decls
E DoWhere.hs:5: syntax error on '}'