typed-struct-props/README.md
2017-03-31 16:33:05 +02:00

1.3 KiB

Build Status, Coverage Status, Build Stats, Online Documentation, License: CC0 v1.0.

Structure type properties for Typed/Racket

This library allows a safer use of some struct type properties with Typed/Racket.

  • Functions and values supplied to #:property prop:some-prop value-here are typechecked. Their type is computed by this library, and depends on the property.

  • The API should hopefully remain stable, even if struct type properties become supported (this library will then become a wrapper) or forbidden in Typed/Racket (this library will then use typed/racket/unsafe tricks).

Currently, the following properties are supported:

  • prop:custom-write
  • prop:equal+hash