https://github.com/longevityframework/typekey
higher kinded type-polymorphic collections
https://github.com/longevityframework/typekey
Last synced: about 2 months ago
JSON representation
higher kinded type-polymorphic collections
- Host: GitHub
- URL: https://github.com/longevityframework/typekey
- Owner: longevityframework
- License: other
- Created: 2017-06-12T18:10:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T03:43:27.000Z (about 8 years ago)
- Last Synced: 2025-12-29T23:25:34.683Z (6 months ago)
- Language: Scala
- Homepage: https://longevityframework.github.io/typekey/
- Size: 704 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](http://www.apache.org/licenses/LICENSE-2.0.txt)
## Higher Kinded Type-Polymorphic Collections
In brief, typekey provides the following features:
- A `TypeKey` is a
[`TypeTag`](http://docs.scala-lang.org/overviews/reflection/typetags-manifests.html) that is
suitable for use as a key in a `Set` or a `Map`.
- A `TypeKeyMap` is a `Map` from `TypeKey` to objects with type arguments that match the type
indicated by the `TypeKey`.
- A `TypeBoundMap` is a `Map` where the key and value of each key-value pair is bound to the same
type argument.
For more details, please see the [typekey website](https://longevityframework.github.io/typekey/)
and [API docs](https://longevityframework.github.io/typekey/api/typekey).