Skip to content

Instantly share code, notes, and snippets.

@StoneCypher
Created February 2, 2014 22:10
Show Gist options
  • Save StoneCypher/8775662 to your computer and use it in GitHub Desktop.
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