Created
December 17, 2019 17:44
-
-
Save zraffer/314e6baada99eb115e4fc9573ede8575 to your computer and use it in GitHub Desktop.
agda editor highlight
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
{-# OPTIONS --type-in-type #-} | |
{- remark -} | |
module _ where | |
record Go (A : Set) : Set where | |
constructor Go! | |
field go : ∀ (a : A) → A → Set | |
field og : A -> forall (a : A) -> Set | |
open Go {{...}} public | |
instance | |
_ : Go Set | |
_ = λ { .go X Y → X → Y ; | |
.og X Y → Y → X } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment