Skip to content

Commit bd032e8

Browse files
author
IOHK
committed
Automatic Update
1 parent d876911 commit bd032e8

21 files changed

+895
-0
lines changed

default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -2853,6 +2853,7 @@ with builtins; mapAttrs (_: mapAttrs (_: data: rec {
28532853
"blucontrol" = import ./nix/blucontrol.nix;
28542854
"bludigon" = import ./nix/bludigon.nix;
28552855
"bluefin" = import ./nix/bluefin.nix;
2856+
"bluefin-algae" = import ./nix/bluefin-algae.nix;
28562857
"bluefin-internal" = import ./nix/bluefin-internal.nix;
28572858
"bluemix-sdk" = import ./nix/bluemix-sdk.nix;
28582859
"bluetile" = import ./nix/bluetile.nix;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "3.4";
14+
identifier = { name = "bluefin-algae"; version = "0.1.0.0"; };
15+
license = "MIT";
16+
copyright = "Li-yao Xia 2024";
17+
maintainer = "[email protected]";
18+
author = "Li-yao Xia";
19+
homepage = "";
20+
url = "";
21+
synopsis = "Algebraic effects and named handlers in Bluefin.";
22+
description = "A framework for user-defined effects powered by delimited continuations.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."bluefin" or (errorHandler.buildDepError "bluefin"))
29+
(hsPkgs."bluefin-internal" or (errorHandler.buildDepError "bluefin-internal"))
30+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
31+
];
32+
buildable = true;
33+
};
34+
tests = {
35+
"main-test" = {
36+
depends = [
37+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
38+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
39+
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
40+
(hsPkgs."bluefin" or (errorHandler.buildDepError "bluefin"))
41+
(hsPkgs."bluefin-algae" or (errorHandler.buildDepError "bluefin-algae"))
42+
];
43+
buildable = true;
44+
};
45+
"quadratic-counter" = {
46+
depends = [
47+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
48+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
49+
(hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench"))
50+
(hsPkgs."bluefin" or (errorHandler.buildDepError "bluefin"))
51+
(hsPkgs."bluefin-algae" or (errorHandler.buildDepError "bluefin-algae"))
52+
];
53+
buildable = true;
54+
};
55+
};
56+
};
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "3.4";
14+
identifier = { name = "bluefin-algae"; version = "0.1.0.1"; };
15+
license = "MIT";
16+
copyright = "Li-yao Xia 2024";
17+
maintainer = "[email protected]";
18+
author = "Li-yao Xia";
19+
homepage = "";
20+
url = "";
21+
synopsis = "Algebraic effects and named handlers in Bluefin.";
22+
description = "A framework for user-defined effects powered by delimited continuations.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."bluefin" or (errorHandler.buildDepError "bluefin"))
29+
(hsPkgs."bluefin-internal" or (errorHandler.buildDepError "bluefin-internal"))
30+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
31+
];
32+
buildable = true;
33+
};
34+
tests = {
35+
"main-test" = {
36+
depends = [
37+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
38+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
39+
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
40+
(hsPkgs."bluefin" or (errorHandler.buildDepError "bluefin"))
41+
(hsPkgs."bluefin-algae" or (errorHandler.buildDepError "bluefin-algae"))
42+
];
43+
buildable = true;
44+
};
45+
"quadratic-counter" = {
46+
depends = [
47+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
48+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
49+
(hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench"))
50+
(hsPkgs."bluefin" or (errorHandler.buildDepError "bluefin"))
51+
(hsPkgs."bluefin-algae" or (errorHandler.buildDepError "bluefin-algae"))
52+
];
53+
buildable = true;
54+
};
55+
};
56+
};
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "1.10";
14+
identifier = { name = "kan-extensions"; version = "5.2.6"; };
15+
license = "BSD-3-Clause";
16+
copyright = "Copyright (C) 2008-2016 Edward A. Kmett";
17+
maintainer = "Edward A. Kmett <[email protected]>";
18+
author = "Edward A. Kmett";
19+
homepage = "http://github.com/ekmett/kan-extensions/";
20+
url = "";
21+
synopsis = "Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co)monads";
22+
description = "Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)density (co)monads.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."adjunctions" or (errorHandler.buildDepError "adjunctions"))
29+
(hsPkgs."array" or (errorHandler.buildDepError "array"))
30+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
31+
(hsPkgs."comonad" or (errorHandler.buildDepError "comonad"))
32+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
33+
(hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant"))
34+
(hsPkgs."distributive" or (errorHandler.buildDepError "distributive"))
35+
(hsPkgs."invariant" or (errorHandler.buildDepError "invariant"))
36+
(hsPkgs."free" or (errorHandler.buildDepError "free"))
37+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
38+
(hsPkgs."profunctors" or (errorHandler.buildDepError "profunctors"))
39+
(hsPkgs."semigroupoids" or (errorHandler.buildDepError "semigroupoids"))
40+
(hsPkgs."tagged" or (errorHandler.buildDepError "tagged"))
41+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
42+
];
43+
buildable = true;
44+
};
45+
};
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {
12+
benchmark-uniplate = false;
13+
inlining = true;
14+
dump-splices = false;
15+
test-hunit = true;
16+
test-properties = true;
17+
test-templates = true;
18+
trustworthy = true;
19+
j = false;
20+
};
21+
package = {
22+
specVersion = "1.18";
23+
identifier = { name = "lens"; version = "5.3"; };
24+
license = "BSD-2-Clause";
25+
copyright = "Copyright (C) 2012-2016 Edward A. Kmett";
26+
maintainer = "Edward A. Kmett <[email protected]>";
27+
author = "Edward A. Kmett";
28+
homepage = "http://github.com/ekmett/lens/";
29+
url = "";
30+
synopsis = "Lenses, Folds and Traversals";
31+
description = "This package comes \\\"Batteries Included\\\" with many useful lenses for the types\ncommonly used from the Haskell Platform, and with tools for automatically\ngenerating lenses and isomorphisms for user-supplied data types.\n\nThe combinators in @Control.Lens@ provide a highly generic toolbox for composing\nfamilies of getters, folds, isomorphisms, traversals, setters and lenses and their\nindexed variants.\n\nAn overview, with a large number of examples can be found in the <https://github.com/ekmett/lens#lens-lenses-folds-and-traversals README>.\n\nAn introductory video on the style of code used in this library by Simon Peyton Jones is available from <http://skillsmatter.com/podcast/scala/lenses-compositional-data-access-and-manipulation Skills Matter>.\n\nA video on how to use lenses and how they are constructed is available on <http://youtu.be/cefnmjtAolY?hd=1 youtube>.\n\nSlides for that second talk can be obtained from <http://comonad.com/haskell/Lenses-Folds-and-Traversals-NYC.pdf comonad.com>.\n\nMore information on the care and feeding of lenses, including a brief tutorial and motivation\nfor their types can be found on the <https://github.com/ekmett/lens/wiki lens wiki>.\n\nA small game of @pong@ and other more complex examples that manage their state using lenses can be found in the <https://github.com/ekmett/lens/blob/master/examples/ example folder>.\n\n/Lenses, Folds and Traversals/\n\nWith some signatures simplified, the core of the hierarchy of lens-like constructions looks like:\n\n\n<<http://i.imgur.com/ALlbPRa.png>>\n\n<https://raw.githubusercontent.com/ekmett/lens/master/images/Hierarchy.png (Local Copy)>\n\nYou can compose any two elements of the hierarchy above using @(.)@ from the @Prelude@, and you can\nuse any element of the hierarchy as any type it linked to above it.\n\nThe result is their lowest upper bound in the hierarchy (or an error if that bound doesn't exist).\n\nFor instance:\n\n* You can use any 'Traversal' as a 'Fold' or as a 'Setter'.\n\n* The composition of a 'Traversal' and a 'Getter' yields a 'Fold'.\n\n/Minimizing Dependencies/\n\nIf you want to provide lenses and traversals for your own types in your own libraries, then you\ncan do so without incurring a dependency on this (or any other) lens package at all.\n\n/e.g./ for a data type:\n\n> data Foo a = Foo Int Int a\n\nYou can define lenses such as\n\n> -- bar :: Lens' (Foo a) Int\n> bar :: Functor f => (Int -> f Int) -> Foo a -> f (Foo a)\n> bar f (Foo a b c) = fmap (\\a' -> Foo a' b c) (f a)\n\n> -- quux :: Lens (Foo a) (Foo b) a b\n> quux :: Functor f => (a -> f b) -> Foo a -> f (Foo b)\n> quux f (Foo a b c) = fmap (Foo a b) (f c)\n\nwithout the need to use any type that isn't already defined in the @Prelude@.\n\nAnd you can define a traversal of multiple fields with 'Control.Applicative.Applicative':\n\n> -- traverseBarAndBaz :: Traversal' (Foo a) Int\n> traverseBarAndBaz :: Applicative f => (Int -> f Int) -> Foo a -> f (Foo a)\n> traverseBarAndBaz f (Foo a b c) = Foo <$> f a <*> f b <*> pure c\n\nWhat is provided in this library is a number of stock lenses and traversals for\ncommon haskell types, a wide array of combinators for working them, and more\nexotic functionality, (/e.g./ getters, setters, indexed folds, isomorphisms).";
32+
buildType = "Simple";
33+
};
34+
components = {
35+
"library" = {
36+
depends = [
37+
(hsPkgs."array" or (errorHandler.buildDepError "array"))
38+
(hsPkgs."assoc" or (errorHandler.buildDepError "assoc"))
39+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
40+
(hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans"))
41+
(hsPkgs."bifunctors" or (errorHandler.buildDepError "bifunctors"))
42+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
43+
(hsPkgs."call-stack" or (errorHandler.buildDepError "call-stack"))
44+
(hsPkgs."comonad" or (errorHandler.buildDepError "comonad"))
45+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
46+
(hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant"))
47+
(hsPkgs."distributive" or (errorHandler.buildDepError "distributive"))
48+
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions"))
49+
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
50+
(hsPkgs."free" or (errorHandler.buildDepError "free"))
51+
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
52+
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable"))
53+
(hsPkgs."indexed-traversable" or (errorHandler.buildDepError "indexed-traversable"))
54+
(hsPkgs."indexed-traversable-instances" or (errorHandler.buildDepError "indexed-traversable-instances"))
55+
(hsPkgs."kan-extensions" or (errorHandler.buildDepError "kan-extensions"))
56+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
57+
(hsPkgs."parallel" or (errorHandler.buildDepError "parallel"))
58+
(hsPkgs."profunctors" or (errorHandler.buildDepError "profunctors"))
59+
(hsPkgs."reflection" or (errorHandler.buildDepError "reflection"))
60+
(hsPkgs."semigroupoids" or (errorHandler.buildDepError "semigroupoids"))
61+
(hsPkgs."strict" or (errorHandler.buildDepError "strict"))
62+
(hsPkgs."tagged" or (errorHandler.buildDepError "tagged"))
63+
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
64+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
65+
(hsPkgs."th-abstraction" or (errorHandler.buildDepError "th-abstraction"))
66+
(hsPkgs."these" or (errorHandler.buildDepError "these"))
67+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
68+
(hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat"))
69+
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers"))
70+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
71+
];
72+
buildable = true;
73+
};
74+
tests = {
75+
"templates" = {
76+
depends = pkgs.lib.optionals (!!flags.test-templates) [
77+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
78+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
79+
];
80+
buildable = if !flags.test-templates then false else true;
81+
};
82+
"properties" = {
83+
depends = pkgs.lib.optionals (!!flags.test-properties) [
84+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
85+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
86+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
87+
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
88+
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
89+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
90+
];
91+
buildable = if !flags.test-properties then false else true;
92+
};
93+
"hunit" = {
94+
depends = pkgs.lib.optionals (!!flags.test-hunit) [
95+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
96+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
97+
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
98+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
99+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
100+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
101+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
102+
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
103+
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
104+
];
105+
buildable = if !flags.test-hunit then false else true;
106+
};
107+
"doctests" = {
108+
depends = [
109+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
110+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
111+
(hsPkgs."simple-reflect" or (errorHandler.buildDepError "simple-reflect"))
112+
];
113+
buildable = true;
114+
};
115+
};
116+
benchmarks = {
117+
"plated" = {
118+
depends = [
119+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
120+
(hsPkgs."comonad" or (errorHandler.buildDepError "comonad"))
121+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
122+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
123+
(hsPkgs."generic-deriving" or (errorHandler.buildDepError "generic-deriving"))
124+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
125+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
126+
] ++ pkgs.lib.optional (flags.benchmark-uniplate) (hsPkgs."uniplate" or (errorHandler.buildDepError "uniplate"));
127+
buildable = true;
128+
};
129+
"alongside" = {
130+
depends = [
131+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
132+
(hsPkgs."comonad" or (errorHandler.buildDepError "comonad"))
133+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
134+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
135+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
136+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
137+
];
138+
buildable = true;
139+
};
140+
"folds" = {
141+
depends = [
142+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
143+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
144+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
145+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
146+
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers"))
147+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
148+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
149+
];
150+
buildable = true;
151+
};
152+
"traversals" = {
153+
depends = [
154+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
155+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
156+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
157+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
158+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
159+
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers"))
160+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
161+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
162+
];
163+
buildable = true;
164+
};
165+
"unsafe" = {
166+
depends = [
167+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
168+
(hsPkgs."comonad" or (errorHandler.buildDepError "comonad"))
169+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
170+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
171+
(hsPkgs."generic-deriving" or (errorHandler.buildDepError "generic-deriving"))
172+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
173+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
174+
];
175+
buildable = true;
176+
};
177+
};
178+
};
179+
}

0 commit comments

Comments
 (0)