
10 Oct
2011
10 Oct
'11
8:17 p.m.
kaffeepause73
Thanks for the quick reply - it works now. - I wasted quite a bit time on this.
Alternatively, you can turn on overloaded strings, which allows constructing text values (along with other types that are instances of IsString) from string constants. Add {-# Language OverloadedStrings #-} at the top of your source file to enable it.
I guess the "internal" bit in the compiler message confused me.
It is a common idiom to put "internals" -- e.g. data type definitions -- in a module called "Internal". -k -- If I haven't seen further, it is by standing in the footprints of giants