ipso
ipso copied to clipboard
Pretty-printed record types can parenthesised
Example:
gitex:292:49: error: expected type "IO ({ name : String, hash : String })", got type "IO ()"
|
292 | exitWithError err
|
The record type doesn't need parens; IO { name : String, hash : String } will do.