How about replacing <| with ->

Herby Vojčík herby at mailbox.sk
Sat Mar 3 12:26:23 PST 2012



Jonas Höglund wrote:
> Since it seems there are many supporters for "arrow-like" symbols pointing
> in either direction, and both of these groups seem to think the symbol
> points in the "wrong" direction if it isn't the direction they imagine it
> pointing to, perhaps it's better to look for more alternatives of
> direction-neutral operators instead. Here are some suggestions:
>
> let obj = proto \\ {
>   prop: "test",
>   foo: 10
> }
> let obj = proto #: {
>   prop: "test",
>   foo: 10
> }

As for the nondirectional ones, does this collide with something?

   let obj = proto ^^ {
     prop: "test",
     foo: 10
   }

Herby


More information about the es-discuss mailing list