Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get definition of Non GADTs functions #67

Closed
zjhmale opened this issue Apr 3, 2017 · 0 comments
Closed

Get definition of Non GADTs functions #67

zjhmale opened this issue Apr 3, 2017 · 0 comments
Assignees

Comments

@zjhmale
Copy link
Owner

zjhmale commented Apr 3, 2017

It is easy to get the definition of the function defined in a GADTs style

data Foo : Type where
  Bar1 : Foo
  Bar2 : E -> Foo
  Bar3 : E -> E -> Foo

But it is more tricky to do with the normal one

data Foo = Bar1
         | Bar2 b
         | Bar3 b b
@zjhmale zjhmale self-assigned this Apr 4, 2017
@zjhmale zjhmale closed this as completed in bf80061 Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant