Closed hasufell closed 1 year ago
In GitLab by @Bodigrim on Dec 1, 2022, 08:37
Merges avoid-head-and-tail -> master
CLC has approved the proposal to add {-# WARNING #-} to Data.List.{head,tail} (https://github.com/haskell/core-libraries-committee/issues/87). It means that usage of head and tail will emit compile-time warnings.
{-# WARNING #-}
Data.List.{head,tail}
head
tail
This patch eliminates usages of head and tail in the library component of filepath.
filepath
historical ref: https://gitlab.haskell.org/haskell/filepath/-/merge_requests/117
In GitLab by @Bodigrim on Dec 1, 2022, 08:37
Merges avoid-head-and-tail -> master
CLC has approved the proposal to add
{-# WARNING #-}
toData.List.{head,tail}
(https://github.com/haskell/core-libraries-committee/issues/87). It means that usage ofhead
andtail
will emit compile-time warnings.This patch eliminates usages of
head
andtail
in the library component offilepath
.