Skip to content

Instantly share code, notes, and snippets.

@mgood
Created October 15, 2008 07:08
Show Gist options
  • Save mgood/16877 to your computer and use it in GitHub Desktop.
Save mgood/16877 to your computer and use it in GitHub Desktop.
def funcall(tuple, ~'[]', [index])
if index < 0
index = index + tuple.size()
erlang::element(index + 1, tuple)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment