family 0.1.2

I can't believe it's not HKT!
Documentation
  • Coverage
  • 87.5%
    14 out of 16 items documented2 out of 11 items with examples
  • Size
  • Source code size: 10.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • open-mv-sandbox/family-rs
    1 1 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LaylBongers

Family - I can't believe it's not HKT!

⚠️ This crate's any module uses unsafe code that has not been properly audited for soundness.

A small family pattern implementation, implementing "associated type constructors". Additionally provides some dynamic casting utilities that make use of families and members.

See this post for more information: http://smallcultfollowing.com/babysteps/blog/2016/11/03/associated-type-constructors-part-2-family-traits/

Crates

  • Crates.io docs.rs

License

Licensed under either of

at your option.