Skip to content

Instantly share code, notes, and snippets.

@zraffer
Created December 17, 2019 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zraffer/314e6baada99eb115e4fc9573ede8575 to your computer and use it in GitHub Desktop.
Save zraffer/314e6baada99eb115e4fc9573ede8575 to your computer and use it in GitHub Desktop.
agda editor highlight
{-# 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