Skip to content

Instantly share code, notes, and snippets.

@quasilyte
Created June 29, 2015 15:47
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 quasilyte/b6e77f8745bd327eeeb4 to your computer and use it in GitHub Desktop.
Save quasilyte/b6e77f8745bd327eeeb4 to your computer and use it in GitHub Desktop.
get(key): {
container[key]
}
lazy_get(key): {
IF ({container[key].has_key?} '@lazyLoader') @then {
({container[key]['@lazyLoader']})
BECOME get
}
get(key)
}
KEYWORD 'COND' @true
COND { true } @true { expr[] } @false { expr }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment