Created
April 28, 2015 11:41
-
-
Save oreillyross/b117004a38f860b86052 to your computer and use it in GitHub Desktop.
identity function in scalaz
From http://eed3si9n.com/learning-scalaz/Id.html
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
/** The strict identity type constructor. Can be thought of as `Tuple1`, but with no * runtime representation. */ type Id[+X] = X |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment