Is there a command in Haskell which displays (or get as a list of) all the user defined functions which have been loaded/defined in the GHCi? Thanks
相关问题
- Understanding do notation for simple Reader monad:
- Making Custom Instances of PersistBackend
- Haskell: What is the differrence between `Num [a]
- applying a list to an entered function to check fo
- Haskell split a list into two by a pivot value
相关文章
- Is it possible to write pattern-matched functions
- Haskell underscore vs. explicit variable
- Top-level expression evaluation at compile time
- Stuck in the State Monad
- foldr vs foldr1 usage in Haskell
- List of checkboxes with digestive-functors
- How does this list comprehension over the inits of
- Replacing => in place of -> in function type signa
To see bindings you've made at the ghci prompt (e.g. with
let
or<-
), try:show bindings
.If you've loaded some modules, you can use
:show modules
to get the names of loaded modules and then:browse ModuleName
to list everything in scope from that module.When in ghci, use
:browse
or just:bro
after loading the file. You may also browse unloaded modules via:browse Foo.Bar.Baz
.