FStarLang / FStar

A Proof-oriented Programming Language
https://fstar-lang.org
Apache License 2.0
2.7k stars 234 forks source link

Generalize `FStar.Dyn` #3364

Closed gebner closed 3 months ago

gebner commented 4 months ago

This changes the FStar.Dyn module to provide the API I've used in the Pulse thunks I've shown on Wednesday.

I believe it is consistent (also w.r.t. to the computational behavior) to add a significantly more powerful API, but I don't think you can construct that without assume: