Skip to content

Commit

Permalink
Merge pull request #4323 from IntersectMBO/PR-remove-unused-exports
Browse files Browse the repository at this point in the history
`constrained-generators`: clean up interface
  • Loading branch information
MaximilianAlgehed authored May 14, 2024
2 parents 14c8394 + b6187fc commit 885d01d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions libs/constrained-generators/src/Constrained.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
-- It is supposed to contain everything you need to write constraints
-- and implement `HasSpec` and `HasSimpleRep` instances.
module Constrained (
Specification (..), -- TODO: it would be nice not to expose this whole thing
Pred (..), -- TODO: it would be nice not to expose this whole thing
Specification (..),
Pred,
Term,
Binder (..), -- TODO: it would be nice not to expose this whole thing
HasSpec (..),
HasSimpleRep (..),
NumLike (..),
Expand Down Expand Up @@ -112,13 +111,8 @@ module Constrained (
shrinkWithNumSpec,
conformsToNumSpec,
toPredsNumSpec,
-- TODO: this is super yucky, it would be good to implement
-- the linear lambda thing to get rid of this.
composeFn,
fstFn,
sndFn,
addFn,
toGenericFn,
-- Working with generics
toSimpleRepSpec,
fromSimpleRepSpec,
algebra,
Expand Down

0 comments on commit 885d01d

Please sign in to comment.