Create a gist now

Instantly share code, notes, and snippets.

output of ghci
Prelude Text.Regex.Posix Data.ByteString.Char8> "good food" =~ ".odd" ::[String]
No instance for (RegexContext Regex [Char] [String])
arising from a use of `=~' at <interactive>:1:0-20
Possible fix:
add an instance declaration for
(RegexContext Regex [Char] [String])
In the expression: "good food" =~ ".odd" :: [String]
In the definition of `it': it = "good food" =~ ".odd" :: [String]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment