bulat.ziganshin:
Hello circ,
Thursday, November 27, 2008, 9:59:08 PM, you wrote:
So why not {hello: 1, there: 2} ?
mymap hello:1 there:2
where mymap implementation is left to the reader :)
Hey, well, even easier:
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE
In all fairness, this basically forces you to say trust me
to the compiler for something that should be verifiable
statically. A typo results in a runtime error -- in a way,
this is worse than Perl.
Quasi-quotes are really the right answer but hardly simple
in this case...
--
_jsn
Don Stewart wrote:
bulat.ziganshin:
Hello circ,
Thursday, November 27, 2008, 9:59:08 PM, you wrote:
So why not {hello: 1, there: 2} ?
mymap hello:1 there:2
where mymap implementation is left to the reader :)
I can't see the context of the beginning of this thread, but I've always
found:
On Fri, Nov 28, 2008 at 12:04 AM, Jules Bean [EMAIL PROTECTED] wrote:
I can't see the context of the beginning of this thread, but I've always
found:
fromList [(hello,1),(there,2)]
to be a relatively simple syntax, and still checked at compile time.
I never liked that. Too much syntax