kaffeepause73 <[email protected]> writes:

> 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

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to