Skip to content

Instantly share code, notes, and snippets.

@witt3rd
Last active October 6, 2020 11:56
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 witt3rd/5e5d3e9fb2146a1a1b37c811629e0eb0 to your computer and use it in GitHub Desktop.
Save witt3rd/5e5d3e9fb2146a1a1b37c811629e0eb0 to your computer and use it in GitHub Desktop.
data Foo : (x : List a) -> (y : List b) -> Type where
MkFoo : (bar: a -> b) -> Foo x y
bar : Foo {a} {b} x y -> a -> b
bar (MkFoo _) x' = ?rhs
{-
b : Type
a : Type
y : List b
x : List a
x' : a
b1 : Type
a1 : Type
bar : a1 -> b1
--------------------------------------
rhs : b
-}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment