rfc:short_closures

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:short_closures [2015/08/31 19:21] bwoebirfc:short_closures [2015/09/01 16:30] bwoebi
Line 256: Line 256:
 </code> </code>
  
-Additionally, ''%%==>%%'' in Hack has slightly different semantics, hence we decided, it's better to not reuse that symbolIt also enables Hack to have ''~>'' and ''%%==>%%'' at the same time, with their slightly different semantics, in order to mirror PHP as much as possible, if necessary.+Additionally, I was asked to not reuse the ''%%==>%%'' syntax (http://chat.stackoverflow.com/transcript/message/25421648#25421648) as Hack is already using it. Hence ''~>'' looks like a great alternative.
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
rfc/short_closures.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1