Arc Forumnew | comments | leaders | submitlogin
2 points by Pauan 4554 days ago | link | parent

Huh, I hadn't thought about using <- for assignment...

  foo <- X Y Z -> X + Y + Z
I'd still like or<- though, I think it stands out more than "default". But I don't think that would work with your syntax system.


1 point by akkartik 4554 days ago | link

Yeah. I considered |<-, but it seemed too cryptic. It was only when I came up with default that I decided to take the leap on it all.

-----

2 points by Pauan 4554 days ago | link

  n |<- 0
I actually think that looks fine, to be honest.

-----