Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to list names of loaded functions in GHCi? [duplicate]

Tags:

haskell

ghci

I have a haskell file my.hs in a directory. In that directory I run GHCi. At the prompt I type

:load my.hs

Is there some command in GHCi that will list the names of all the functions loaded from the file? I didn't find it in the help which is displayed by :? in GHCi

like image 773
Jan Hrcek Avatar asked Oct 22 '25 02:10

Jan Hrcek


1 Answers

I found this question was already answered here

The command I was looking for was

:browse Main
like image 50
Jan Hrcek Avatar answered Oct 25 '25 00:10

Jan Hrcek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!