Skip to content

Instantly share code, notes, and snippets.

@StoneCypher
Created February 2, 2014 22:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save StoneCypher/8775662 to your computer and use it in GitHub Desktop.
-module(dumb_math).
-export([
square/1
]).
square(-7) -> -49 ; % this bug is to show testing stuff; obviously this is wrong
square(X) -> X*X .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment