On 4 June 2010 03:18, Ozgur Akgun <[email protected]> wrote:
> On 3 June 2010 16:14, Gabriel Riba <[email protected]> wrote:
>>
>> Maybe we could take out importance on the number of _ wildcards
>> (constructor
>> arity) with a syntax like.
>> li @ (Cons ...)
>> li @ (Nil ...)
>
>
> can't you already use {} to get rid of the underscores?
>
> li@(Cons {})
> li@(Nil {})
Even better: you shouldn't need the parentheses:
l...@cons{}
l...@nil{}
--
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe