[GHC] #1388: Newbie help features

GHC ghc-devs at haskell.org
Wed Jul 1 16:36:31 UTC 2015


#1388: Newbie help features
-------------------------------------+-------------------------------------
        Reporter:  guest             |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  low               |               Milestone:  ⊥
       Component:  GHCi              |                 Version:  6.6.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #4929             |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * cc: bgamari (added)
 * related:   => #4929


Comment:

 Support for top-level declarations was added in #4929.

 With 1ff7f09b3abedb2a6daf384b55ad3d0134f0d174, `f = 1` now prints:
 {{{
 +    parse error on input ‘=’
 +    Perhaps you need a 'let' in a 'do' block?
 +    e.g. 'let x = 5' instead of 'x = 5'
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/1388#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list