Thanks, I forgot to save it after debug. Now it works.On Sunday, July 10, 2016 at 9:38:49 PM UTC-4, gmhwxi wrote:
Also, please delete the line "staload .../gorder_int.dats"
On Sunday, July 10, 2016 at 9:15:10 PM UTC-4, Steinway Wu wrote:
In a practice, I encountered a problem of memorizing functions. Given a
f, a memorized version of
memo f should cache the
f applying on some
input. I tried a demo here
https://glot.io/snippets/egflakau5h, which shows a generic
implementation of the function
memo0 (for memorizing a function of no
memo1 (for memorizing a function with one argument).
Comments are welcomed.