isaacg1 / pyth

Pyth, an extremely concise language. Try it here:
https://pyth.herokuapp.com/
MIT License
263 stars 57 forks source link

Operator `]` (wrap into singleton array) does not support implicit argument #213

Closed kckennylau closed 8 years ago

kckennylau commented 8 years ago

] does not expand to [Q].

My guess is because ] is not a macro but a literal that affects the string to be evaluated directly, instead of a function.

isaacg1 commented 8 years ago

Fixed. ] should not have been in optional_final_arg. It had nothing to do with function vs. infix.