1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

Correct a couple of hints.

This commit is contained in:
Rob Rix 2018-05-30 10:36:16 -04:00
parent 6adc5d7413
commit 9caf8893b6

View File

@ -17,8 +17,8 @@ error "Avoid return" =
return ==> pure
where note = "return is obsolete as of GHC 7.10"
error "use extract" = termAnnotation . unTerm ==> extract
error "use unwrap" = termOut . unTerm ==> unwrap
error "use termAnnotation" = termFAnnotation . unTerm ==> termAnnotation
error "use termOut" = termFOut . unTerm ==> termOut
error "avoid head" = head
where note = "head is partial; consider using Data.Maybe.listToMaybe"