Created
June 23, 2020 22:25
-
-
Save vhutov/8a3a4ec0f2b842688c8c6bd47059a0b8 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
abstract class Inject[A, B] { | |
def inj: A ⇒ B | |
def prj: B ⇒ Option[A] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment