Skip to content

ghci to support where clauses in simple form

Motivation

Trying to enter code into ghci with where clause.

Proposal

In hugs, one can write: (a,a) where a = pi

However, this does not work in ghci. One can in ghci write

let a = pi in (a,a)

So it would be good if there was equal support for let and where clauses in ghci.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information