RE: empty field label constructor infelicity

2002-09-25 Thread Simon Peyton-Jones
| The report says "The expression F {}, where F is a data constructor, is | legal whether or not F was declared with record syntax, provided F has no | strict fields: it denotes F _|_1 ... _|_n where n is the arity of F." | | It unclear to me why there needs to be this provision for records with

empty field label constructor infelicity

2002-09-24 Thread Hal Daume III
Hi again, The report says "The expression F {}, where F is a data constructor, is legal whether or not F was declared with record syntax, provided F has no strict fields: it denotes F _|_1 ... _|_n where n is the arity of F." It unclear to me why there needs to be this provision for records with