Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. How to show the help page of a function (Peng Yu) 2. Re: How to show the help page of a function (Francesco Ariis) 3. Re: How to show the help page of a function (Peng Yu) ---------------------------------------------------------------------- Message: 1 Date: Wed, 26 May 2021 18:22:15 -0500 From: Peng Yu <pengyu...@gmail.com> To: beginners@haskell.org Subject: [Haskell-beginners] How to show the help page of a function Message-ID: <cabrm6wktxpoogh_rj+hts7pyz7uwfovhakbeeszwrqwto2e...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Hi, I want to check the help page of a function in haskell. For example, to check the help page of "many", could anybody help me know to get to its help page? Thanks. -- Regards, Peng ------------------------------ Message: 2 Date: Thu, 27 May 2021 01:27:06 +0200 From: Francesco Ariis <fa...@ariis.it> To: beginners@haskell.org Subject: Re: [Haskell-beginners] How to show the help page of a function Message-ID: <20210526232706.GA24795@extensa> Content-Type: text/plain; charset=utf-8 Hello Peng, Il 26 maggio 2021 alle 18:22 Peng Yu ha scritto: > I want to check the help page of a function in haskell. For example, > to check the help page of "many", could anybody help me know to get to > its help page? Thanks. A quick way to do it is :doc inside ghci, like λ> :doc head /O(1)/. Extract the first element of a list, which must be non-empty. If you prefer something in your web-browser, hoogle can help you https://hoogle.haskell.org/?hoogle=many&scope=set%3Astackage Does this help? —F ------------------------------ Message: 3 Date: Wed, 26 May 2021 18:53:06 -0500 From: Peng Yu <pengyu...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] How to show the help page of a function Message-ID: <CABrM6w=6w_0h97vxah4_xwylhcms5apibhf+0-zm+aep7xr...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" $ 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? On 5/26/21, Francesco Ariis <fa...@ariis.it> wrote: > Hello Peng, > > Il 26 maggio 2021 alle 18:22 Peng Yu ha scritto: >> I want to check the help page of a function in haskell. For example, >> to check the help page of "many", could anybody help me know to get to >> its help page? Thanks. > > A quick way to do it is :doc inside ghci, like > > λ> :doc head > /O(1)/. Extract the first element of a list, which must be non-empty. > > If you prefer something in your web-browser, hoogle can help you > > https://hoogle.haskell.org/?hoogle=many&scope=set%3Astackage > > Does this help? > —F > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -- Regards, Peng ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 154, Issue 12 ******************************************