Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

google/hs-fin-vec

Fin and Vec

Length-indexed vectors and cardinality-bounded index types.

Stack CI

Disclaimer

This is not an officially supported Google product.

Hackage Status

  • sint Uploaded Haddock
  • fin-int Uploaded Haddock
  • short-vec Uploaded Haddock
  • short-vec-lens Uploaded Haddock
  • finite-table Uploaded Haddock

Overview

This repository is home to several packages implementing finite sets of ordinal numbers and length-indexed short vectors, as well as supporting and derived functionality.

  • sint implements a singleton type for type-level Nat represented by Int.

  • fin-int implements bounded index types represented by Int.

  • short-vec implements length-indexed vectors on top of SmallArray#.

  • finite-table implements Vec-based lookup tables over finite enum types.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published