Skip to content

Commit df13243

Browse files
Restyled by fourmolu (#451)
Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 013cf09 commit df13243

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/Disco/Interactive/Commands.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,9 @@ handleDocPrim prim = do
479479
_ -> []
480480
)
481481
++ ( case prim of
482-
PrimUOp u -> [describePrec (uPrec u)]
483-
PrimBOp b -> [describePrec (bPrec b) <> describeFixity (assoc b)]
484-
_ -> []
482+
PrimUOp u -> [describePrec (uPrec u)]
483+
PrimBOp b -> [describePrec (bPrec b) <> describeFixity (assoc b)]
484+
_ -> []
485485
)
486486
case attrs of
487487
[] -> pure ()

src/Disco/Parser.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,8 @@ parseLet =
902902
TLet
903903
<$> ( reserved "let"
904904
*> ( bind
905-
<$> (toTelescope <$> (parseBinding `sepBy` comma))
906-
<*> (reserved "in" *> parseTerm)
905+
<$> (toTelescope <$> (parseBinding `sepBy` comma))
906+
<*> (reserved "in" *> parseTerm)
907907
)
908908
)
909909

src/Disco/Typecheck/Solve.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,9 +658,9 @@ simplify origVM cs =
658658
simplifyOne' (TyCon c1@(CContainer ctr1) tys1 :<: TyCon (CContainer ctr2) tys2) =
659659
ssConstraints
660660
%= ( ( (TyAtom ctr1 :<: TyAtom ctr2)
661-
: zipWith3 variance (arity c1) tys1 tys2
661+
: zipWith3 variance (arity c1) tys1 tys2
662662
)
663-
++
663+
++
664664
)
665665
simplifyOne' (TyCon c1 tys1 :<: TyCon c2 tys2)
666666
| c1 /= c2 = throw NoUnify

0 commit comments

Comments
 (0)