Skip to content

Instantly share code, notes, and snippets.

@rightfold
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rightfold/0beb22fc2e79b25ea901 to your computer and use it in GitHub Desktop.
Save rightfold/0beb22fc2e79b25ea901 to your computer and use it in GitHub Desktop.
import std.io
import std.encoding.utf8
import std.prelude % yeah this should be implicit
let main (env: prelude.Environment): prelude.ExitCode = {
io.write env.stdout (utf8.encode "Hello, world!\n")
prelude.ExitSuccess
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment