Skip to content

Makes a small subset of struct type properties available in Typed/Racket. The API should hopefully stay backward-compatible when Typed/Racket officially supports (or rejects) structure type properties.

License

CC0-1.0, Unknown licenses found

Licenses found

CC0-1.0
LICENSE.txt
Unknown
LICENSE-more.md
Notifications You must be signed in to change notification settings

SuzanneSoy/typed-struct-props

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status, Coverage Status, Build Stats, Online Documentation, Maintained as of 2018, 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

About

Makes a small subset of struct type properties available in Typed/Racket. The API should hopefully stay backward-compatible when Typed/Racket officially supports (or rejects) structure type properties.

Topics

Resources

License

CC0-1.0, Unknown licenses found

Licenses found

CC0-1.0
LICENSE.txt
Unknown
LICENSE-more.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages