[Haskell-beginners] How to show the help page of a function

Francesco Ariis fa-ml at ariis.it
Thu May 27 15:40:24 UTC 2021


Il 26 maggio 2021 alle 18:53 Peng Yu ha scritto:
> $ ghci
> GHCi, version 8.10.4: https://www.haskell.org/ghc/  :? for help
> Prelude> :doc many
> 
> <interactive>:1:1: error: Not in scope: ‘many’
> 
> Any way to automatically determine the module to load and load it
> automatically in the command line?

You might do this by installing Hoogle locally [1]

[1] https://github.com/ndmitchell/hoogle/blob/master/docs/Install.md


More information about the Beginners mailing list