Skip to content
Draft
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Apply hlint suggestions
  • Loading branch information
TheMatten committed May 29, 2021
commit 7f3f9f0bbd6d5c390a28d9dc1eb7367038da2efd
2 changes: 1 addition & 1 deletion src/Language/PureScript/TypeChecker/Entailment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ entails SolverOptions{..} constraint context hints =
normalizedRowS = foldl' go (Just id) where
go s (RowListItem _ (Label n) t) = do
s' <- s
lbl <- traverse (either (\_ -> Nothing) Just) $ decodeStringEither n
lbl <- traverse (either (const Nothing) Just) $ decodeStringEither n
tS <- normalizedTypeS t
Just $ s' . showString lbl . showString "::" . tS . showString ","
solveTypeable _ _ = Nothing
Expand Down