mstksg / non-empty-containers

Non-Empty Containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

non-empty-containers

non-empty-containers creates two new data structures NonEmptyMap and NonEmptySet by extending Haskell's built-in Map and Set data structures.

NonEmptyMap allows a user to create Map data structures while promising they will never be empty.

NonEmptySet allows a user to create Set data structures while promising they will never be empty.

About

Non-Empty Containers

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%