#type #dependent #proof #theorem

departed

A library that provides some of the benefits of dependent types using the Ghosts of Departed Proofs technique

1 unstable release

0.1.0 May 8, 2020

#19 in #theorem

24 downloads per month

MIT license

7KB
149 lines

departed

Departed is a library for Rust programmers that provides some of the benefits of dependent types using the "Ghosts of Departed Proofs" technique. Namely, it allows library authors to write APIs with statically checked preconditions and invariants. In addition, it allows users of said APIs to prove that they are using the APIs correctly.

All credit for the technique this crate is based on goes to Matt Noonan.

No runtime deps