partial_fn 0.1.0

Construct a partial function from a series of match statements.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented3 out of 4 items with examples
  • Size
  • Source code size: 11.69 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • lambdaknight/partial_fn
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • lambdaknight

partial_fn

A partial function of type PartialFn<A,B> is a unary function whose domain is a subset of A. In addition to being able to call a PartialFn, a method is_defined_at is provided in order to test whether the given PartialFn is defined at a particular value.

License: MIT