isaacg1 / pyth

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

Implicit Input Inside Lambdas #190

Closed Maltysen closed 8 years ago

Maltysen commented 8 years ago

The implicit Q is really nice, but I feel that inside lambdas like m it really isn't appropriate. For example, mhs{*MyP. This will take implicit input from Q, but it is very rare that I would want the P to also take from Q.

So I propose that inside lambdas, when closed with ; or EOF, that the implicit input should not be Q but instead the innermost lambda var. For instance, the above example would expand to mhs{*MyPdQ

isaacg1 commented 8 years ago

This is great, I like this a lot.

isaacg1 commented 8 years ago

Implemented