Created
March 12, 2020 18:29
-
-
Save justinhj/00f0b89ab8853f4fdde1a952a132452b to your computer and use it in GitHub Desktop.
A pure function
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
def functionExample(a: A): B = { | |
// ... do something with A | |
// .. return a value of type B | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment