• lennart@augustsson.net's avatar
    Add support for overloaded string literals. · 90dc9026
    lennart@augustsson.net authored
    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.
     
    90dc9026
TcSimplify.lhs 89.2 KB