Skip to content

Conversation

@gares
Copy link
Member

@gares gares commented May 29, 2020

Fix #53

@gares
Copy link
Member Author

gares commented May 29, 2020

@CohenCyril I prepared the code to parameters, hope it makes sense.

@gares
Copy link
Member Author

gares commented May 29, 2020

BTW, I notice that one cannot declare a instance for Definition f T1 T2 := Build (T1 * T2) ....
It is only possible in a section (HB.builders context) where T1 and T2 are global.

@CohenCyril
Copy link
Member

BTW, I notice that one cannot declare a instance for Definition f T1 T2 := Build (T1 * T2) ....
It is only possible in a section (HB.builders context) where T1 and T2 are global.

Yes I know, I hope we can handle that with parameters... (they should work both for the mixins and the carrier, we'll see)

@gares
Copy link
Member Author

gares commented May 30, 2020

I need to also update the doc in Readme.md and changelog, then I think we can merge

@gares
Copy link
Member Author

gares commented Jun 1, 2020

done

@gares gares merged commit b085ff4 into master Jun 2, 2020
@gares gares deleted the instance-def branch June 2, 2020 08:12
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

Successfully merging this pull request may close these issues.

HB.instance Definition bla := Foo.Build T .... syntax

3 participants