ghci - running functions defined in a where clause

Harendra Kumar harendra.kumar at gmail.com
Tue Dec 1 10:48:14 UTC 2015


In ghci, is there a way to address and run functions defined in the where
clause of a function? I do not see those functions available in the scope.
Is this supported?

I can imagine two classes of functions in a where clause. Functions which
refer to the bindings in the surrounding scope and those which do not refer
to any outside bindings. I guess the latter should be easier to support if
we can refer to it or bring it in the current scope somehow.

Thanks,
harendra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20151201/362c716d/attachment.html>


More information about the Glasgow-haskell-users mailing list