[Haskell-beginners] Viewing a Definition
Francesco Ariis
fa-ml at ariis.it
Mon Jan 25 02:16:55 UTC 2021
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
More information about the Beginners
mailing list