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
6 changes: 3 additions & 3 deletions src/Disco/Interactive/Commands.hs
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,9 @@ handleDocPrim prim = do
_ -> []
)
++ ( case prim of
PrimUOp u -> [describePrec (uPrec u)]
PrimBOp b -> [describePrec (bPrec b) <> describeFixity (assoc b)]
_ -> []
PrimUOp u -> [describePrec (uPrec u)]
PrimBOp b -> [describePrec (bPrec b) <> describeFixity (assoc b)]
_ -> []
)
case attrs of
[] -> pure ()
Expand Down
4 changes: 2 additions & 2 deletions src/Disco/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,8 @@ parseLet =
TLet
<$> ( reserved "let"
*> ( bind
<$> (toTelescope <$> (parseBinding `sepBy` comma))
<*> (reserved "in" *> parseTerm)
<$> (toTelescope <$> (parseBinding `sepBy` comma))
<*> (reserved "in" *> parseTerm)
)
)

Expand Down
4 changes: 2 additions & 2 deletions src/Disco/Typecheck/Solve.hs
Original file line number Diff line number Diff line change
Expand Up @@ -658,9 +658,9 @@ simplify origVM cs =
simplifyOne' (TyCon c1@(CContainer ctr1) tys1 :<: TyCon (CContainer ctr2) tys2) =
ssConstraints
%= ( ( (TyAtom ctr1 :<: TyAtom ctr2)
: zipWith3 variance (arity c1) tys1 tys2
: zipWith3 variance (arity c1) tys1 tys2
)
++
++
)
simplifyOne' (TyCon c1 tys1 :<: TyCon c2 tys2)
| c1 /= c2 = throw NoUnify
Expand Down