Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Data.List.{head,tail} #73

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Avoid Data.List.{head,tail} #73

merged 1 commit into from
Jan 5, 2023

Conversation

Bodigrim
Copy link
Contributor

@Bodigrim Bodigrim commented Dec 1, 2022

CLC has approved the proposal to add {-# WARNING #-} to Data.List.{head,tail} (haskell/core-libraries-committee#87). It means that usage of head and tail will emit compile-time warnings.

This patch eliminates the only usage of head in hsc2hs.

@Bodigrim
Copy link
Contributor Author

Bodigrim commented Dec 4, 2022

@ggreif @bgamari just a gentle reminder.

@Bodigrim
Copy link
Contributor Author

@ggreif @bgamari ping.

@Bodigrim
Copy link
Contributor Author

@bgamari @ggreif another ping :)

@bgamari bgamari merged commit 59c5e82 into haskell:master Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants