Im having problems with sending a string to a tuple.
My string contains integers and strings
The whole string stay as (“test,dfdf”,3,”dfsf”)
sortList2 :: String -> String
| x == ',' = ""
| otherwise = [x] ++ sortList2 xs
The above function separating each words from the string
Now I need to put them to a tuple
putList :: String -> (Int, String, String, Int, Int)
/="" = sortList2 ++ putList xs
I wrote something like above. But I really have no clue how
to continue. Can someone help me. It’s a big help