My personal extension of the standard library, mostly containing foundational generic types.
- assetembed: HTTP handler for efficiently serving embedded assets using the cache-busting pattern
- jsonmatch: matching of encoded JSON payloads against fixed assertions
- option: an Option type with strong isolation
- options: additional functions for type Option
I may add additional types (e.g. Result
, Either
or Pair
) if:
- there is a compelling usecase for myself, and
- I find an API that is ergonomic in practice (this is the biggest reason why
Result
might never happen).