www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

README.md (1461B)


      1 [![Build Status,](https://img.shields.io/travis/jsmaniac/typed-struct-props/main.svg)](https://travis-ci.org/jsmaniac/typed-struct-props)
      2 [![Coverage Status,](https://img.shields.io/codecov/c/github/jsmaniac/typed-struct-props/main.svg)](https://codecov.io/gh/jsmaniac/typed-struct-props)
      3 [![Build Stats,](https://img.shields.io/badge/build-stats-blue.svg)](http://jsmaniac.github.io/travis-stats/#jsmaniac/typed-struct-props)
      4 [![Online Documentation,](https://img.shields.io/badge/docs-online-blue.svg)](http://docs.racket-lang.org/typed-struct-props/)
      5 [![Maintained as of 2018,](https://img.shields.io/maintenance/yes/2018.svg)](https://github.com/jsmaniac/typed-struct-props/issues)
      6 [![License: CC0 v1.0.](https://img.shields.io/badge/license-CC0-blue.svg)](https://creativecommons.org/publicdomain/zero/1.0/)
      7 
      8 Structure type properties for Typed/Racket
      9 ==========================================
     10 
     11 This library allows a safer use of some struct type properties with
     12 Typed/Racket.
     13 
     14 * Functions and values supplied to `#:property prop:some-prop value-here` are
     15   typechecked. Their type is computed by this library, and depends on the
     16   property.
     17 
     18 * The API should hopefully remain stable, even if struct type properties
     19   become supported (this library will then become a wrapper) or forbidden in
     20   Typed/Racket (this library will then use typed/racket/unsafe tricks).
     21 
     22 Currently, the following properties are supported:
     23 
     24 * prop:custom-write
     25 * prop:equal+hash