Created
September 5, 2018 10:00
-
-
Save BekaValentine/2a21edf833d9e3e0f264569f64893e2c 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
| -- Define names for convenience, these aren't real, just meta-level | |
| Data_Bool :: forall r :: *. | |
| (forall bool :: *. | |
| bool -> | |
| bool -> | |
| (forall a. bool -> (() -> a) -> (() -> a) -> a) -> | |
| r) | |
| -> r | |
| Data_Bool dependee = | |
| dependee {forall a. (() -> a) -> (() -> a) -> a} | |
| (\t f -> t ()) | |
| (\t f -> f ()) | |
| (\c t f -> c t f) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment