Skip to content

Instantly share code, notes, and snippets.

@Addvilz
Last active August 29, 2015 14:24
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 Addvilz/d317c6a67bafb99df216 to your computer and use it in GitHub Desktop.
Save Addvilz/d317c6a67bafb99df216 to your computer and use it in GitHub Desktop.
namespace Hello.World
import Iterator
import List
import LinkedList as BaseList
import Map
import OtherInterface
Main
const EXCL_MARK is '!'
private hello is 'Hello'
private world is 'World'
public static @construct(Map argv = [])
instance is Main
instance.showHelloWorld()
anon is (Integer x, Integer y)
return x * y
private showHelloWorld()
stdout String.format('%s %s %s', this.hello, this.world, Main:EXCL_MARK)
private showHelloWorld(String world) // Look, Ma', I am a overload!
world is !world.isVoid() ? world : this.world
stdout String.format('%s %s %s', this.hello, world, Main:EXCL_MARK)
primitive final CustomMap extends Map, List, BaseList implements Iterator
public next()
return parent.next()
private for Hello.World interface SomeInterface extends OtherInterface
public thing()
public otherThing()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment