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

Latest commit

 

History

History
41 lines (29 loc) · 2.21 KB

README.md

File metadata and controls

41 lines (29 loc) · 2.21 KB

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.