-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I run io.println("hello world")
from gluon -i
?
#334
Comments
That should just work, sorry. The repl is a bit hard to test so occasionally it breaks in ways like that. Will look into it. Related #51 |
Shouldn't we have something like
Perhaps we could have a helpful error if one doesn't use it. |
That's what Idris does at least... it seems in Haskell things 'just work' though:
|
@brendanzab I do like the fact that it just works, maybe it is a bit inconsistent with other monads but there is also nothing else one can actually do with an IO expression than just running it. The point may become irrelevant with an effect system though |
Broken accidentally when let bindings without a body expression (`let x = 3`) were accepted in the repl Fixes gluon-lang#334
Where is
runIO
or something?The text was updated successfully, but these errors were encountered: