Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Constrained/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module Constrained.Base (
pattern (:<:),
pattern (:>:),
pattern Unary,
Ctx,
toCtx,
flipCtx,
fromListCtx,
Expand Down Expand Up @@ -88,6 +89,7 @@ module Constrained.Base (
fromForAllSpec,
Fun (..),
BaseW (..),
Deps,
) where

import Constrained.AbstractSyntax
Expand Down
1 change: 1 addition & 0 deletions src/Constrained/GenT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ scaleT sc (GenT gen) = GenT $ \mode msgs -> scale sc $ gen mode msgs
getMode :: Applicative m => GenT m GenMode
getMode = GenT $ \mode _ -> pure (pure mode)

-- | Get the current stack of `explain` above you
getMessages :: Applicative m => GenT m [NonEmpty String]
getMessages = GenT $ \_ msgs -> pure (pure msgs)

Expand Down
5 changes: 4 additions & 1 deletion src/Constrained/Generic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ module Constrained.Generic (
Sum (..),
(:::),
SOP,
SOPLike(..),
SOPOf,
ALG,
Inject(..),
ProdOver,
ConstrOf,
inject,
algebra,
SumOver,
) where

Expand Down
1 change: 1 addition & 0 deletions src/Constrained/NumOrd.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module Constrained.NumOrd (
MaybeBounded (..),
NumLike (..),
Numeric,
Number,
nubOrd,
IntW (..),
OrdW (..),
Expand Down