OLD | NEW |
(Empty) | |
| 1 fun = &Math.zero?/1 |
| 2 (&is_function/1).(fun) |
| 3 fun = &(&1 + 1) |
| 4 &List.flatten(&1, &2) |
| 5 |
| 6 ---------------------------------------------------- |
| 7 |
| 8 [ |
| 9 "fun ", ["operator", "="], |
| 10 ["capture", "&Math.zero?/1"], |
| 11 ["punctuation", "("], |
| 12 ["capture", "&is_function/1"], |
| 13 ["punctuation", ")"], |
| 14 ["punctuation", "."], |
| 15 ["punctuation", "("], "fun", ["punctuation", ")"], |
| 16 "\r\nfun ", ["operator", "="], |
| 17 ["capture", "&"], |
| 18 ["punctuation", "("], ["argument", "&1"], |
| 19 ["operator", "+"], ["number", "1"], ["punctuation", ")"], |
| 20 ["capture", "&List.flatten"], |
| 21 ["punctuation", "("], ["argument", "&1"], |
| 22 ["punctuation", ","], ["argument", "&2"], |
| 23 ["punctuation", ")"] |
| 24 ] |
| 25 |
| 26 ---------------------------------------------------- |
| 27 |
| 28 Checks for function capturing and arguments. |
OLD | NEW |