Skip to content

Instantly share code, notes, and snippets.

@fogus
Forked from manuel/MOP-COLA.adoc
Created July 13, 2018 13:46
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 fogus/2f94d474aeecef1e223a62a5a91fa62b to your computer and use it in GitHub Desktop.
Save fogus/2f94d474aeecef1e223a62a5a91fa62b to your computer and use it in GitHub Desktop.
fun send(rcv, msg, args) {
  cls = rcv.isa
  if (cls.isa == STD_CLS)
    method = builtin_lookup(rcv, msg)
  else
    method = send(cls, "lookup", msg)
  method(rcv, args)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment