Skip to content

Instantly share code, notes, and snippets.

@wolfpython
Created November 13, 2010 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfpython/675024 to your computer and use it in GitHub Desktop.
Save wolfpython/675024 to your computer and use it in GitHub Desktop.
output of ghci
Prelude Text.Regex.Posix Data.ByteString.Char8> "good food" =~ ".odd" ::[String]
<interactive>:1:0:
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