Add support for overloaded string literals.
authorlennart@augustsson.net <unknown>
Thu, 21 Dec 2006 21:01:47 +0000 (21:01 +0000)
committerlennart@augustsson.net <unknown>
Thu, 21 Dec 2006 21:01:47 +0000 (21:01 +0000)
The class is named IsString with the single method fromString.
Overloaded strings work the same way as overloaded numeric literals.
In expressions a string literals gets a fromString applied to it.
In a pattern there will be an equality comparison with the fromString:ed literal.

Use -foverloaded-strings to enable this extension.


No differences found