hax-lib: introduce a Prop abstraction#1301
Conversation
3e2bde2 to
2ec30c1
Compare
hax-lib: introduce a Prop type hax-lib: introduce a Prop abstraction
|
I wonder if we should not add a Instead, we could have a |
|
I have tested this on libcrux and it works well. |
|
@maximebuyse it would be good to check that this PR will not break PQ11 or Sandwich. |
As a user, I would really not have to know too much about the structure of hax_lib, so a single namespace seems fine to me? Or else we could break it into a couple of name spaces but let's do it soon or else it will be painful to refactor later. |
|
Yeah, but exposing everything top-level is not so nice either: it's polluting context. A prelude would be nice to import automatically traits: I think preludes are pretty common in the Rust ecosystem, so I don't think this will be unintuitive for users. |
maximebuyse
left a comment
There was a problem hiding this comment.
All good for PQ11 and Sandwich
This PR introduces a Prop type for use in formulas.
It also cleans up the structure of hax-lib a little.