Created
July 11, 2016 14:51
-
-
Save jarek-przygodzki/ecaeb97b522331f8be19f2410ae276b4 to your computer and use it in GitHub Desktop.
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
type :=>[A, B] = PartialFunction[A, B] | |
val pf: Double :=> Double = { case x if x >= 0 => Math.sqrt(x) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment