Another severe problem.  Compare

f1 1

and

f3 1

For debugging, I find 

f4 1

enlightening.

I'd be very grateful for help here, since I wanted to introduce anonymous
functions to my students...

Martin

)cl co
)tr reportFunctionCompilation
)tr mkInterpFun 
)tr genMapCode
)tr compileDeclaredMap
)tr analyzeMap0
)tr analyzeNonRecursiveMap
)tr analyzeUndeclaredMap
)tr analyzeDeclaredMap
)tr findLocalVars
)tr compileBody

f1 z == x +-> gcd(x,z)
f4 z == (w := z; output w; x +-> gcd(x,w))
f2(z: INT):(INT->INT) == x +-> gcd(x,z)
f3 z == (x: INT):INT +-> gcd(x,z)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to