: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.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to