Created
December 22, 2018 16:21
-
-
Save Lysxia/01c0ff0d6dca65ba1e456719fea2adba to your computer and use it in GitHub Desktop.
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
| data Status = Expired | Valid | |
| data SStatus (_ :: Status) where | |
| SExpired :: SStatus 'Expired | |
| SValid :: SStatus 'Valid | |
| data Node (s :: Status) = | |
| { ... | |
| , anStatus :: SStatus s | |
| ... | |
| } | |
| data Node' where | |
| Node' :: Node s -> Node' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment