Replies: 1 comment
-
I like this idea! Indeed, pushing some of the constraints into |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am going over the Hydro DSL in order to understand it in more detail and how trait and generics are constraining the DSL by construction. I am wondering if a PR that uses
where
clauses where possible and that uses generic parameter names consistently would be acceptable with the goal of improving the readability.What I have in mind is pretty straightforward:
This (an alternative could be Item, Loc, Bnd, Ord etc):
instead of:
And:
instead of:
Beta Was this translation helpful? Give feedback.
All reactions