CNMAT / CNMAT-odot

Multi-paradigm Dynamic Programming
Other
115 stars 11 forks source link

Bug in lambda #257

Closed maccallum closed 10 years ago

maccallum commented 10 years ago

Bindings that occur before the application of a lambda function where the lambda uses the value of that binding report an unbound address.

This works:


----------begin_max5_patcher----------
402.3ocoR0zaBDBD87t+JHbRSo5x5Gw1Du1y8tZZvcoUrHrAXMq0z+6EFVqe
Taho8vxxLyaFd7drOMAuT2vsXzinYnjj8oIIPpPhj13D7FVSgjYAXXcuRgsR
x1gIwpNdiCpzuPWqb9czLxbUeoMreFkRPzb+2fEG5PJTb.ans71jp5MBkj6f
Sg1lrh4JVITu8hgW3hrjNNqWFAkOHO7iNBhFNoWFZQaShxHQWt99b7woqqcW
N9.0KzRsINZXTGWnmLyXytcU7HTL96RupUNq3Cn.0SpP1OSSCKjaVS4MUldE
5Rd.3uHrSOQXmh1vp5X3rRqy3EnNywR1lkkrNMDTC5NTrmtywcIdOvqWDzfE
cupCL3u4.zQfCLjBQid35N.85NP9+2AdpVJelU7N2gImEcKNCfAjgKd7C22P
9ysKqt1Tb3jauWnijqjacBEyIzpSvjeFlUhxRNTN6PWBKaojCh0OIGqpZK2X
aGIPD+ql0QoZLABEpXH3VXCeq3.9gPFlwadNuyUa.xialLFmFNmOS+hw1OuU
-----------end_max5_patcher-----------

But this doesn't:


----------begin_max5_patcher----------
388.3ocqRsraCBCD7L7UX4SIptDLIAEUobsm68znJC313TiMBahHMJ+6EuFZ
dzToJ0d.i2Ymc83Y8gv.bltkavnGPqPAAGBCB.HGPPeb.tj0lKYFfFVGUHLU
R1dLwm0xasPlI45FksaGMl7rZhz31uhRIHZR22z0CUHEJNv0UVROnpoTnjbK
bJzdvJlMeiP81K07bqWkzz3nXBJYZh6GcNDMaQTLZceQhBuPy1deB9T20M1q
auS54Zot12ZnUmVnm0Sew18UbOUL9qTupUVi3CHAsSTNziggtExu1S4sU0Q4
5Bti3OXrKOyXWhJYUijrxrB1nVBpEcGxSaLoyy67GBZ55w+mNNcN33yndGO8
1NN81Ndxe2werQJehk+N2hIWD8alD.GvFt5wNbec3WNdL5l57gSt+dgNItBt
wJTLqPqNiSxEb1HJJ3P53gpDFVljCl02EGqpZGu1z2RPHcuR15spTBDJT9PX
Zgq46DC7mAHr5tgmsax0TChG2tHEG5NmigeB1WU6QC
-----------end_max5_patcher-----------
maccallum commented 10 years ago

fixed