Created
August 8, 2017 16:14
-
-
Save noelrappin/40be365f4bcf47c272f9fd9de1779b50 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
edit : Editable -> Editable | |
edit x = | |
case x of | |
BeingEdited old new -> | |
x | |
NotBeingEdited value -> | |
BeingEdited value value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment