Administrator approval is now required for registering new accounts. If you are registering a new account, and are external to the University, please ask the repository owner to contact ServiceLine to request your account be approved. Repository owners must include the newly registered email address, and specific repository in the request for approval.

Commit afca0b6c authored by mnay1u19's avatar mnay1u19
Browse files

modified readCSV

parent 480483d1
......@@ -9,7 +9,7 @@ readCSV fname = do
return $ readCSVString str
readCSVString :: String -> [[String]]
readCSVString whole = [splitElem ',' (line++" ") | line <- splitElem '\n' whole]
readCSVString whole = [splitElem ',' (line++" " ) | line <- splitElem '\n' whole]
splitElem :: Eq a => a -> [a] -> [[a]]
splitElem elem = split (/=elem)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment