[Haskell-cafe] String to Hash ?
raptor at tvskat.net
Thu Dec 8 09:03:27 EST 2005
I have made a simple Split function, here is how it works :
str = "k1=v1|k2=v2|k3=v3"
> map (sSplit '=') (sSplit '|' str)
Now what I want to do is to return listOfPairs (instead listOflists) so that I can
give this as parameter to Data.Map.fromList and build hash-like structure.
What would be the easiest way ?
PS. Can anyone point me to a source/link where I can see more examples
of using Hash-like structures ?
More information about the Haskell-Cafe