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. Viewing a Definition (A. Mc.) 2. Re: Viewing a Definition (Francesco Ariis) ---------------------------------------------------------------------- Message: 1 Date: Sun, 24 Jan 2021 17:59:34 -0800 From: "A. Mc." <47dragonf...@gmail.com> To: beginners@haskell.org Subject: [Haskell-beginners] Viewing a Definition Message-ID: <caosti3mntkte+nuntgtrgybvumm_g_z7pbyjofqzh6wbp9f...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello, It looks like the best way for me to tackle my problem is to create a modified form of Data.Text isInfixOf where the return is an int rather than a bool, to be able to sum words that appear twice or more, but ignoring the whitespace delimitor. Does anyone know where to go to view the actual definition rather than the type signature? Thanks in advance and thank you for your time. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20210124/fe08a02c/attachment-0001.html> ------------------------------ Message: 2 Date: Mon, 25 Jan 2021 03:16:55 +0100 From: Francesco Ariis <fa...@ariis.it> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Viewing a Definition Message-ID: <20210125021655.GA2799@extensa> Content-Type: text/plain; charset=utf-8 Hello A., Il 24 gennaio 2021 alle 17:59 A. Mc. ha scritto: > It looks like the best way for me to tackle my problem is to create a > modified form of Data.Text isInfixOf where the return is an int rather than > a bool, to be able to sum words that appear twice or more, but ignoring the > whitespace delimitor. Does anyone know where to go to view the actual > definition rather than the type signature? In the docs [1], when you click on «Source» button (on the right), you will get the source —F [1] https://hackage.haskell.org/package/text-1.2.4.1/docs/Data-Text.html#v:isInfixOf ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 150, Issue 12 ******************************************