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

Fixing some partial function warnings being emitted by GHC #483

Merged

Conversation

lepsa
Copy link
Contributor

@lepsa lepsa commented Apr 4, 2024

Replacing tail with a varient that emits an empty list when the input list is also empty. Otherwise it behaves as Prelude.tail

Replacing `tail` with a varient that emits an empty list when the input
list is also empty. Otherwise it behaves as `Prelude.tail`
@julialongtin
Copy link
Member

not great, but not horrible. :)

@julialongtin julialongtin merged commit e1a7bc9 into Haskell-Things:master Apr 4, 2024
3 checks passed
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.

None yet

2 participants