first general version arc`s " : " operator : (cons a : cons b : cons c nil ) => (cons a (cons b (cons b nil ) ) )
(+ 1 2 3 4 5 : * 6 7 8 ) => (+ 1 2 3 4 5 (* 6 7 8) )
etc.its easy to read and it solves the MORP problem (millions of right parenthesis) . second from Ruby: you know ( map lst | z | some-code ) => (map lst (fn (x) some-code ) )
i dont know these are previously mentioned somewhere.i am using them for a while . they are quite handy.(actually , i am in love with them). ok question is: are they sucks,lame, dirty etc. or - maybe - cool? anyway, all responses are welcome. thanks. |