mirror of
https://github.com/coot/free-category.git
synced 2024-09-11 14:17:30 +03:00
* Efficient representation of free category Using type aligned real time queues (Okasaki, 'Purely Functional Data Structures') to represent catanable type allign lists (free categories). Composition is O(1) and right fold is O(n), where n is number of transitions. * Bump version to 0.0.3 Make it compile on ghc802. * Updated CI configuration
20 lines
482 B
Nix
20 lines
482 B
Nix
{ compiler ? "ghc865"
|
|
, haddock ? true
|
|
, test ? true
|
|
, benchmarks ? false
|
|
, dev ? false
|
|
}:
|
|
with builtins;
|
|
let
|
|
default = import ./default.nix {inherit benchmarks compiler dev haddock test;};
|
|
nixpkgs = import ./nix/nixpkgs.nix { inherit compiler; };
|
|
in
|
|
{
|
|
free-category = if nixpkgs.lib.inNixShell
|
|
then default.free-category.env
|
|
else default.free-category;
|
|
examples = if nixpkgs.lib.inNixShell
|
|
then default.examples.env
|
|
else default.examples;
|
|
}
|