blob: 90ae517881e53665dc8f9bf8b342dc9ee7f5960f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!--
SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net>
SPDX-License-Identifier: Apache-2.0
-->
# gg (Generic Generics)
My personal extension of the standard library, mostly containing foundational generic types.
## List of packages
- [assetembed](./assetembed/): HTTP handler for efficiently serving embedded assets using the cache-busting pattern
- [jsonmatch](./jsonmatch/): matching of encoded JSON payloads against fixed assertions
- [is](./is/): binary operations that are expressed in a curried style, e.g. `is.LessThan(b)(a) == a < b`, for use with `Option.IsSomeAnd()` etc.
- [option](./option/): an Option type with strong isolation
- [options](./options/): additional functions for type Option
## Future developments
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).
|