Skip to content

Commit

Permalink
make ormolu happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Feb 1, 2023
1 parent c859c1c commit 4012ebf
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions src/Juvix/Compiler/Backend/Geb/Translation/FromCore.hs
Original file line number Diff line number Diff line change
Expand Up @@ -206,20 +206,21 @@ fromCore tab = case tab ^. Core.infoMain of
(MorphismBinop $ Binop OpEq (MorphismVar (Var 1)) (MorphismVar (Var 0)))
}
}
in return $ MorphismApplication
Application
{ _applicationDomainType = ObjectInteger,
_applicationCodomainType = ObjectHom (Hom ObjectInteger objectBool),
_applicationLeft =
MorphismApplication
Application
{ _applicationDomainType = ObjectInteger,
_applicationCodomainType = objectBool,
_applicationLeft = le,
_applicationRight = arg2'
},
_applicationRight = arg1'
}
in return $
MorphismApplication
Application
{ _applicationDomainType = ObjectInteger,
_applicationCodomainType = ObjectHom (Hom ObjectInteger objectBool),
_applicationLeft =
MorphismApplication
Application
{ _applicationDomainType = ObjectInteger,
_applicationCodomainType = objectBool,
_applicationLeft = le,
_applicationRight = arg2'
},
_applicationRight = arg1'
}
_ ->
error "wrong builtin application argument number"
Core.OpEq ->
Expand Down

0 comments on commit 4012ebf

Please sign in to comment.