Skip to content

Instantly share code, notes, and snippets.

@christineponyl
Created October 13, 2019 16:13
Show Gist options
  • Save christineponyl/3a90c3b0fa47484d10e4a7e6f9267e5b to your computer and use it in GitHub Desktop.
Save christineponyl/3a90c3b0fa47484d10e4a7e6f9267e5b to your computer and use it in GitHub Desktop.
actor Main
let foo: Foo
new create(env: Env) =>
try
foo = Foo()?
else
env.err.print("Something went wrong!")
env.exitcode(1)
end
class Foo
new create() ? => None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment