@Araq Maybe you don't need flexibility but please imagine using a it-template 
inside of an it-template (e.g. an apply inside of an apply).  Just like @olwi 
said, => is better and I think it should be brought to standard Nim.

People only mention two reasons to use it-templates, correct me if I'm wrong:

  * "shorter code" \--- ok, but also less flexible (apply-in-apply) and less 
readable (a matter of taste, I admit)
  * "closures are inefficient" \--- why not making them efficient somehow? Like 
inlining, let's say?



@doofenstein But it's optional (just like in, let's say, Scala). Why? Because 
of the higher-order-functions composition, which would make it (pun intended) 
ambiguous.

Reply via email to