-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from maackle/lambda
Rewrite lots of facts in terms of lambdas
- Loading branch information
Showing
27 changed files
with
641 additions
and
1,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "contrafact" | ||
version = "0.2.0-rc.0" | ||
version = "0.2.0-rc.1" | ||
authors = ["Michael Dougherty <[email protected]>"] | ||
repository = "https://github.com/maackle/contrafact-rs/" | ||
license = "MIT" | ||
|
@@ -11,19 +11,18 @@ edition = "2021" | |
|
||
[dependencies] | ||
arbitrary = {version = "1.0", features = ["derive"]} | ||
either = "1.5" | ||
derive_more = "0.99" | ||
itertools = "0.10" | ||
tracing = "0.1" | ||
num = "0.4.0" | ||
anyhow = "1.0.40" | ||
tracing = "0.1" | ||
|
||
# utils | ||
once_cell = { version = "1.5", optional = true } | ||
rand = { version = "0.7", optional = true } | ||
|
||
# lens | ||
lens-rs = { version = "0.3", optional = true } | ||
either = "1.5" | ||
# # lens | ||
# lens-rs = { version = "0.3", optional = true } | ||
|
||
[dev-dependencies] | ||
either = "1.5" | ||
|
@@ -34,7 +33,7 @@ default = ["utils"] | |
|
||
utils = ["once_cell", "rand"] | ||
|
||
optics = ["lens-rs"] | ||
# optics = ["lens-rs"] | ||
|
||
[package.metadata.inwelling] | ||
lens-rs_generator = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
|
||
- [ ] Fix generator fns | ||
- [ ] Make Fact a builder which takes a LambdaFact-style function, and can provide a label or label modifier | ||
- [ ] Take some methods off of the trait (satisfy, build) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.