At the GHCi prompt,
I am able to do,
Prelude Text.Parsec> :t (oneOf "aeiou")
and get (oneOf "aeiou") :: Stream s m Char => ParsecT s u m Char
But when I do,
let s = oneOf "aeiou"
I get the following error,
interactive>:36:9:
No instance for (Stream s0 m0 Char)
arising from a use of `oneOf'
Possible fix: add an instance declaration for (Stream s0 m0 Char)
In the expression: oneOf "aeiou"
In an equation for `m': m = oneOf "aeiou"
Could someone please tell me why I am not able to assign to s?