[Haskell-cafe] Haskell's prefix exprs
Isaac Dupree
isaacdupree at charter.net
Mon Jul 9 16:08:03 EDT 2007
Stefan O'Rear wrote:
> On Mon, Jul 09, 2007 at 03:55:52PM +0200, Christian Maeder wrote:
>> Hi,
>>
>> I would like haskell to accept the following (currently illegal)
>> expressions as syntactically valid prefix applications:
>>
>> f = id \ _ -> []
>> g = id let x = [] in x
>> h = id case [] of [] -> []
>> i = id do []
>> j = id if True then [] else []
I agree. The only (minor) concern I have is: that syntax is hard to
read (by humans) without syntax-hilighting of keywords.
Isaac
More information about the Haskell-Cafe
mailing list