I'm having an issue with a conditions where I have nested them. I'm new to Haskell and can't seem to find anything similar in my book or online. Here is an example of what I have:
someFunc s n r c e i
| (i < s)
>>> | (e < s) = someFunc (changes go here conditions are met)
| otherwise = createList (different set of conditions go here)
| otherwise = n
The error being given is: "parse error on input `|'" at the point denoted in the code. How what is the best method of solving this?
Thanks and sorry for English.