[Haskell-cafe] Can i split a String by its element ?
z_axis
z_axis at 163.com
Wed Feb 23 04:06:45 CET 2011
:hoogle splitOn
No results found
:m + Data.Text
splitOn "," "2,15,33,0,8,1,16,18"
<interactive>:1:8:
Couldn't match expected type `Text' against inferred type `[Char]`
...
:i splitOn
splitOn :: Text -> Text -> [Text] -- Defined in Data.Text
It seems this "splitOn" is not one used by you ?
-----
e^(π.i) + 1 = 0
--
View this message in context: http://haskell.1045720.n5.nabble.com/Can-i-split-a-String-by-its-element-tp3395066p3396513.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
More information about the Haskell-Cafe
mailing list