Created
April 26, 2016 10:08
-
-
Save mmalolepszy/1869eab08e164fae5524cb8786a044c4 to your computer and use it in GitHub Desktop.
FSI output
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
| Microsoft (R) F# Interactive version 14.0.23413.0 | |
| Copyright (c) Microsoft Corporation. All Rights Reserved. | |
| For help type #help;; | |
| > [<Measure>] type foot;; | |
| [<Measure>] | |
| type foot | |
| > let radius (circleArea:float<'u^2>) = sqrt (circleArea/3.14);; | |
| val radius : circleArea:float<'u ^ 2> -> float<'u> | |
| > radius 314.0<foot>;; | |
| val it : float<foot ^ (1/2)> = 10.0 | |
| > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment