Skip to content

Instantly share code, notes, and snippets.

@DonaldKellett
Created December 31, 2018 10:26
Show Gist options
  • Save DonaldKellett/3e57409cedab3bc97e71b50c9e072be3 to your computer and use it in GitHub Desktop.
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
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