Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dougalm committed Sep 7, 2023
1 parent e955555 commit 1487b76
Show file tree
Hide file tree
Showing 10 changed files with 333 additions and 513 deletions.
2 changes: 1 addition & 1 deletion src/lib/Builder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ type BuilderEmissions r = RNest (Decl r)
newtype BuilderT (r::IR) (m::MonadKind) (n::S) (a:: *) =
BuilderT { runBuilderT' :: InplaceT Env (BuilderEmissions r) m n a }
deriving ( Functor, Applicative, Monad, MonadTrans1, MonadFail, Fallible
, Catchable, CtxReader, ScopeReader, Alternative, Searcher
, Catchable, CtxReader, ScopeReader, Alternative
, MonadWriter w, MonadReader r')

type BuilderM (r::IR) = BuilderT r HardFailM
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type EnvExtender2 (m::MonadKind2) = forall (n::S). EnvExtender (m n)
newtype EnvReaderT (m::MonadKind) (n::S) (a:: *) =
EnvReaderT {runEnvReaderT' :: ReaderT (DistinctEvidence n, Env n) m a }
deriving ( Functor, Applicative, Monad, MonadFail
, MonadWriter w, Fallible, Searcher, Alternative)
, MonadWriter w, Fallible, Alternative)

type EnvReaderM = EnvReaderT Identity
type FallibleEnvReaderM = EnvReaderT FallibleM
Expand Down
Loading

0 comments on commit 1487b76

Please sign in to comment.