Skip to content

awpr/fin-vec

 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%