Hacker News new | ask | show | jobs
by ufo 4198 days ago
Why define Format as

    data Format = FInt Format
                | FString Format
                | FOther Char Format
                | FEnd
instead of using lists?

     data FormatPart = FInt | FString | FOther Char
     type Format = List FormatPart
1 comments