Skip to content

Instantly share code, notes, and snippets.

@useronym
Created October 16, 2018 14:59
Show Gist options
  • Save useronym/0d92ad339c2ba92c74e40071013646a3 to your computer and use it in GitHub Desktop.
Save useronym/0d92ad339c2ba92c74e40071013646a3 to your computer and use it in GitHub Desktop.
data Path {A : Set} (R : A → A → Set) : A → A → Set where
∅ : ∀ {a} → Path R a a
_>>_ : ∀ {a b c} → R a b → Path R b c → Path R a c
infixr 5 _>>_
_>|_ : ∀ {R a b c} → R a b → R b c → Path R a c
a >| b = a >> b >> ∅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment