You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting! It appears that running files from the command line has regressed so that it no longer runs IO expressions. Fairly simple to fix but I will do some cleanup of the API being used as well.
Note that you actually have a bug in the example you posted. The run function must be called as well or else the IO action won't be executed (you only return the function run as it is currently).
letprelude= import!"std/prelude.glu"letio= import!"std/io.glu"letrun x :() ->IO ()=
io.println "gluon (:h for help, :q to quit)"
run ()// ^ here
there is no output 👍
$ cat t.glu
$ ./target/debug/gluon t.glu
The text was updated successfully, but these errors were encountered: