Closed chrisdone closed 10 years ago
Oh, I forgot to state the problem. This will cache the thunk and you will get
Uncaught TypeError: Property 'value' of object #<Fay$$$> is not a function
Upon the second run of doThing
.
Another fix is to put return ()
at the end of the do block of your main
.
Man travis disk IO is so slow :-(
Test run exceeded 50 minutes. :-(
Hackag'd!
blush
I think I never set the
true
(meaning no-cache) in main just because I never realised this case would happen, and clearly nobody noticed. A workaround is to add a dummy arg todoThing
like()
, but this is the proper fix.