├── .envrc ├── .github └── workflows │ ├── flake-ci.yml │ └── haskell.yml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── Setup.hs ├── flake.lock ├── flake.nix ├── fourmolu.yaml ├── nonempty-containers.cabal ├── src └── Data │ ├── Containers │ └── NonEmpty.hs │ ├── IntMap │ ├── NonEmpty.hs │ └── NonEmpty │ │ └── Internal.hs │ ├── IntSet │ ├── NonEmpty.hs │ └── NonEmpty │ │ └── Internal.hs │ ├── Map │ ├── NonEmpty.hs │ └── NonEmpty │ │ └── Internal.hs │ ├── Sequence │ ├── NonEmpty.hs │ └── NonEmpty │ │ └── Internal.hs │ └── Set │ ├── NonEmpty.hs │ └── NonEmpty │ └── Internal.hs └── test ├── Spec.hs └── Tests ├── IntMap.hs ├── IntSet.hs ├── Map.hs ├── Sequence.hs ├── Set.hs └── Util.hs /.envrc: -------------------------------------------------------------------------------- 1 | nix_direnv_manual_reload 2 | watch_file ./*.cabal 3 | use flake 4 | -------------------------------------------------------------------------------- /.github/workflows/flake-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/.github/workflows/flake-ci.yml -------------------------------------------------------------------------------- /.github/workflows/haskell.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/.github/workflows/haskell.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | 3 | main = defaultMain 4 | -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/flake.nix -------------------------------------------------------------------------------- /fourmolu.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/fourmolu.yaml -------------------------------------------------------------------------------- /nonempty-containers.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/nonempty-containers.cabal -------------------------------------------------------------------------------- /src/Data/Containers/NonEmpty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/Containers/NonEmpty.hs -------------------------------------------------------------------------------- /src/Data/IntMap/NonEmpty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/IntMap/NonEmpty.hs -------------------------------------------------------------------------------- /src/Data/IntMap/NonEmpty/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/IntMap/NonEmpty/Internal.hs -------------------------------------------------------------------------------- /src/Data/IntSet/NonEmpty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/IntSet/NonEmpty.hs -------------------------------------------------------------------------------- /src/Data/IntSet/NonEmpty/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/IntSet/NonEmpty/Internal.hs -------------------------------------------------------------------------------- /src/Data/Map/NonEmpty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/Map/NonEmpty.hs -------------------------------------------------------------------------------- /src/Data/Map/NonEmpty/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/Map/NonEmpty/Internal.hs -------------------------------------------------------------------------------- /src/Data/Sequence/NonEmpty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/Sequence/NonEmpty.hs -------------------------------------------------------------------------------- /src/Data/Sequence/NonEmpty/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/Sequence/NonEmpty/Internal.hs -------------------------------------------------------------------------------- /src/Data/Set/NonEmpty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/Set/NonEmpty.hs -------------------------------------------------------------------------------- /src/Data/Set/NonEmpty/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/src/Data/Set/NonEmpty/Internal.hs -------------------------------------------------------------------------------- /test/Spec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/test/Spec.hs -------------------------------------------------------------------------------- /test/Tests/IntMap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/test/Tests/IntMap.hs -------------------------------------------------------------------------------- /test/Tests/IntSet.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/test/Tests/IntSet.hs -------------------------------------------------------------------------------- /test/Tests/Map.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/test/Tests/Map.hs -------------------------------------------------------------------------------- /test/Tests/Sequence.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/test/Tests/Sequence.hs -------------------------------------------------------------------------------- /test/Tests/Set.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/test/Tests/Set.hs -------------------------------------------------------------------------------- /test/Tests/Util.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstksg/nonempty-containers/HEAD/test/Tests/Util.hs --------------------------------------------------------------------------------