Skip to content

Ada-like library contracts #711

Answered by xldenis
fenollp asked this question in Help
Discussion options

You must be logged in to vote

Hi,

Today, library authors can easily attach contracts to their public apis which will be picked up in client code compiled by creusot.
You can see examples of this increusot-contracts. Furthermore, clients can themselves provide contracts for library code through the extern_spec! mechanism.

Does that answer your question? I'd love to hear more about the kinds of contracts you would need / features you think you would use.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fenollp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants