[Haskell-beginners] pattern matching on strings ?

Henk-Jan van Tuyl hjgtuyl at chello.nl
Fri Feb 20 10:53:28 UTC 2015


On Fri, 20 Feb 2015 08:32:17 +0100, Roelof Wobben <r.wobben at home.nl> wrote:

> First I thought to split the string on the " " but according to google  
> Haskell do not have a split function.

If you use Hoogle[0] instead of Google, you will find that there are many  
split functions in Haskell libraries. Another Haskell package search  
engine is Hayoo[1]; Hayoo searches more packages, but Hoogle has the  
advantage that you can enter the type of a function that you are looking  
for.

Met vriendelijke groet,
Henk-Jan van Tuyl

[0] https://www.fpcomplete.com/hoogle?q=split
[1] http://hayoo.fh-wedel.de/

-- 
Folding at home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--


More information about the Beginners mailing list