Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaprieto committed Aug 2, 2022
1 parent 8539883 commit 91733f6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/Juvix/Compiler/Pipeline.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ typechecking ::
Sem r Internal.InternalTypedResult
typechecking =
do
Concrete.fromSource
Concrete.fromSource
>=> Abstract.fromConcrete
>=> Internal.fromAbstract
>=> Internal.arityChecking
Expand All @@ -55,25 +55,17 @@ toC ::
Members PipelineEff r =>
EntryPoint ->
Sem r C.MiniCResult
toC = do
typechecking >=> C.fromInternal
toC = typechecking >=> C.fromInternal

toHaskell ::
Members PipelineEff r =>
EntryPoint ->
Sem r Haskell.Context
toHaskell =
do
typechecking
toHaskell = do
typechecking
>=> Mono.fromInternal
>=> Haskell.fromMono

-- typechecking >=> Mono.fromInternal >=> Haskell.fromMono
-- typechecking >=> C.fromInternal
-- html = Concrete.fromSource
-- >=> Abstract.fromConcrete
-- >=> Html.fromConcrete

--------------------------------------------------------------------------------

runIOEither :: Sem PipelineEff a -> IO (Either JuvixError a)
Expand Down

0 comments on commit 91733f6

Please sign in to comment.