Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent Lazy.uncons from allocating a thunk (haskell#559)
...at least for the second component of its result. The thunk for the first component is a bit hairier because the readWord8OffAddr# is considered a side effect by GHC and hence can currently never go away unless it is used lazily. See also haskell#558.
- Loading branch information