This repository has been archived by the owner on Nov 23, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Monad syntax bug #160
Labels
Comments
raimohanska
added a commit
to raimohanska/roy
that referenced
this issue
Dec 2, 2012
So I made a fix, but I gotta admit I don't understand the compiler thorougly enough to be totally convinced it works under all circumstances. I added a new testcase (callbackmonad.roy) an existing test case to also include a line where there's just a side effect and no assignment. |
Works in Turtle Roy: http://turtle-roy.herokuapp.com/?turtle=2FTJWA37ZP |
Hmm, There still seems to be a bug about this as of 0.2.2. It seems to still have to bind something in order for it to compile. So something like:
Gives this traceback:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As in https://gist.github.com/4150252#comments
This works:
This does not:
The text was updated successfully, but these errors were encountered: