countvajhula / social-contract

High-level, composable syntax for describing contracts in Racket.
3 stars 1 forks source link

Support the case-> macro #5

Open countvajhula opened 3 years ago

countvajhula commented 3 years ago

These contracts are compatible with all of the forms of Racket's contract DSL except case-> (for case lambdas) which specifically expects -> subforms (not even ->*).

Provide an alternate version of case-> that is identical to the built-in one but also allows social contracts (and maybe even ->*? It might be easier to support it than to exclude it).