
5 Dec
2018
5 Dec
'18
11:12 a.m.
Hello Damien, On Wed, Dec 05, 2018 at 05:02:48PM +0100, Damien Mattei wrote:
• Couldn't match expected type ‘Query’ with actual type ‘[Char]’
GHC would like to have a `Query`, but you are providing a `String`. You didn't specify which library you are using, but I am willing to bet there is an appropriate ":: String -> Query" function. That of you need to put {-# Language OverloadedStrings -#} on top of your file. Does that work? -F