Skip to content

Commit

Permalink
Add link to a relevant CLC issue about NonEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
clyring authored Nov 25, 2022
1 parent c2df350 commit b335e6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Data/ByteString.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,9 @@ Note [Avoid NonEmpty combinators]
As of base-4.17, most of the NonEmpty API is surprisingly lazy.
Using it without forcing the arguments yourself is just begging GHC
to make your code waste time allocating useless selector thunks.
"Refactor" with care!
This may change in the future. See also this CLC issue:
https://github.com/haskell/core-libraries-committee/issues/107
But until then, "refactor" with care!
-}


Expand Down

0 comments on commit b335e6f

Please sign in to comment.