haskellghcijupyterihaskell

How do I show bindings in in an IHaskell Notebook?


In GHCi I can show current bindings by executing

:show bindings

but when I try this in an IHaskell Notebook I get

Parse error (line 1, column 1): Unknown directive: 'show'.

Is there a way to get a list of (and perhaps even remove specific) bindings in an IHaskell Notebook? If not, why can I do this in GHCi but not in a Notebook (I suspect the answer reveals something generally important about the architecture of Haskell IO and how that's employed by IHaskell)?


Solution

  • This is not supported in IHaskell (0.6.5.0; yet) but may be in the future.