Last active
August 29, 2015 14:23
-
-
Save tetsu-miyagawa/e78b74b261dfb310326d to your computer and use it in GitHub Desktop.
関数プログラミング入門 練習問題1.1.3
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
square :: Float -> Float | |
square x = x * x | |
areaOfCircle :: Float -> Float | |
areaOfCircle r = (22 / 7) * square r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment