File tree 4 files changed +44
-17
lines changed
4 files changed +44
-17
lines changed Original file line number Diff line number Diff line change
1
+ /docs /*
2
+ result
3
+ result- *
4
+ /result /*
5
+ dist-newstyle /*
6
+ * /dist-newstyle /*
7
+ * .hoo
8
+ * .warn
9
+ .direnv /*
10
+ * .o
11
+ * .hi
12
+ * .dyn_o
13
+ * .dyn_hi
14
+ cabal.project.local
15
+ cabal.project.local~
16
+
Original file line number Diff line number Diff line change 12
12
pkgs = nixpkgs . legacyPackages . ${ system } ;
13
13
14
14
# Change 945 appropriately to select a different GHC version
15
+ # Check `nix-env -f "<nixpkgs>" -qaP -A haskell.compiler` to see available versions.
15
16
haskellPackages = pkgs . haskell . packages . ghc945 ;
16
17
17
18
jailbreakUnbreak = pkg :
21
22
in {
22
23
packages . ${ packageName } =
23
24
haskellPackages . callCabal2nix packageName self rec {
24
- # Dependency overrides go here
25
25
} ;
26
26
27
27
packages . default = self . packages . ${ system } . ${ packageName } ;
30
30
devShells . default = pkgs . mkShell {
31
31
buildInputs = with pkgs ; [
32
32
33
+ cabal-install
34
+
33
35
haskellPackages . haskell-language-server
36
+
34
37
haskellPackages . hlint
35
38
haskellPackages . stylish-haskell
36
39
haskellPackages . hindent
37
- cabal-install
38
40
39
41
# Optional: Only needed to make use of ./justfile
40
42
just
Original file line number Diff line number Diff line change 1
- cabal-version : 3.0
2
- name : hegg-patterns
3
- version : 0.1.0.0
1
+ cabal-version : 3.0
2
+ name : hegg-patterns
3
+ version : 0.1.0.0
4
4
synopsis :
5
5
E-graph rewrite rules for common algebraic identities, for use with hegg.
6
6
7
7
description :
8
8
E-graph [@Rewrite@ rules](https://hackage.haskell.org/package/hegg-0.4.0.0/docs/Data-Equality-Saturation-Rewrites.html#t :Rewrite)
9
9
associated with common algebraic identities, for use with [hegg](https://hackage.haskell.org/package/hegg).
10
- license : MIT
11
- license-file : LICENSE
12
- author : Eric Meinhardt
13
- maintainer : ericmeinhardt@gmail.com
14
- copyright : 2023
15
- category : Data
16
- build-type : Simple
17
- extra-doc-files : CHANGELOG.md
10
+
11
+ license : MIT
12
+ license-file : LICENSE
13
+ author : Eric Meinhardt
14
+ maintainer : ericmeinhardt@gmail.com
15
+ copyright : 2023
16
+ homepage : https://github.com/emeinhardt/hegg-patterns
17
+ bug-reports : https://github.com/emeinhardt/hegg-patterns/issues
18
+ category : Data
19
+ build-type : Simple
20
+ extra-doc-files : CHANGELOG.md
21
+
22
+ source-repository head
23
+ type : git
24
+ location : https://github.com/emeinhardt/hegg-patterns/hegg-patterns.git
18
25
19
26
common warnings
20
27
ghc-options :
@@ -25,7 +32,8 @@ library
25
32
default-language : GHC2021
26
33
default-extensions : UnicodeSyntax
27
34
hs-source-dirs : src
28
- exposed-modules : Data.Equality.Matching.Pattern.Extras
35
+ exposed-modules :
36
+ Data.Equality.Matching.Pattern.Extras
29
37
build-depends :
30
- base ^ >= 4.17.1 .0
31
- , hegg == 0.4. *
38
+ base >= 4.16 && < 5 .0
39
+ , hegg == 0.4. *
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ mkDerivation {
4
4
version = "0.1.0.0" ;
5
5
src = ./. ;
6
6
libraryHaskellDepends = [ base hegg ] ;
7
- description = "Rewrite rules for common algebraic identities, for use with [hegg](https://hackage.haskell.org/package/hegg)." ;
7
+ homepage = "https://github.com/emeinhardt/hegg-patterns" ;
8
+ description = "E-graph rewrite rules for common algebraic identities, for use with hegg" ;
8
9
license = lib . licenses . mit ;
9
10
}
You can’t perform that action at this time.
0 commit comments