Skip to content

Instantly share code, notes, and snippets.

@kevsmith
Created November 5, 2008 18:28
Show Gist options
  • Save kevsmith/22391 to your computer and use it in GitHub Desktop.
Save kevsmith/22391 to your computer and use it in GitHub Desktop.
-module(test).
-export([add/2]).
-compile([native]).
add(X, Y) when is_number(X), is_number(Y) ->
X + Y.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment