Created
May 2, 2014 01:43
-
-
Save mohnjoosemiller/d3f92ee20124db8f632d to your computer and use it in GitHub Desktop.
A basic Haskell library that (when run) will allow the user to do interpret many plaintext algebraic statements.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let double x = 2*x | |
let pentuple x = 5*x | |
let quadruple x = 4*x | |
let triple x = 3*x | |
let squareroot x = sqrt(x) | |
let square x = x^2 | |
let cube x = x^3 | |
let fourth x = x^4 | |
let half x = x/2 | |
let thrid x = x/3 | |
let quarter x = x/4 | |
let eighth x = x/8 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment