Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Latest commit b98ff3c @roshats roshats committed with bgamari Function definition in GHCi
This patch allows define and re-define functions in ghci. `let` is not
required anymore (but can be used).

Idea: If ghci input string can be parsed as statement then run it as
statement else run it as declaration.

Reviewers: mpickering, bgamari, austin

Reviewed By: mpickering, bgamari, austin

Subscribers: hvr, mpickering, dterei, thomie

Differential Revision:

GHC Trac Issues: #7253
Something went wrong with that request. Please try again.