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

Question about the definition of Group #179

Open
anotherArka opened this issue Feb 27, 2019 · 0 comments
Open

Question about the definition of Group #179

anotherArka opened this issue Feb 27, 2019 · 0 comments

Comments

@anotherArka
Copy link
Contributor

Somebody has defined a data type group as

data Group: (g: Type) -> Type where
MkGroup: (grp : Type) -> (() : grp -> grp -> grp) -> (IsGroup grp ()) -> Group grp

What is the reason behind adding this definition?
It makes the code slightly more complicated, though that's not a big issue. But defining an additional data type might just create some internal error. But sometimes definitions using constructors creates some problems. Although I don't know when it will create a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant