Created
December 31, 2018 10:26
-
-
Save DonaldKellett/3e57409cedab3bc97e71b50c9e072be3 to your computer and use it in GitHub Desktop.
PureScript by Example - 2.11 Testing Code Using the Interactive Mode - Exercise 1 Solution
This file contains hidden or 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
module CircleArea where | |
import Prelude | |
import Math | |
circleArea :: Number -> Number | |
circleArea r = pi * r * r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment