relude icon indicating copy to clipboard operation
relude copied to clipboard

Add `safeHead`

Open drlkf opened this issue 5 months ago • 6 comments

Checklist:

  • [X] Haddock documentation for the new function
  • [ ] Tests for the new function (I did not add them since other simple List functions had none so I assumed they are not required if the function are simple enough)

HLint

  • [ ] I've changed the exposed interface (add new reexports, remove reexports, rename reexported things, etc.).
    • [X] I've updated hlint.dhall accordingly to my changes (add new rules for the new imports, remove old ones, when they are outdated, etc.).
    • [X] I've generated the new .hlint.yaml file (see this instructions).

General

  • [X] I've updated the CHANGELOG with the short description of my latest changes.
  • [X] All new and existing tests pass.
  • [x] I keep the code style used in the files I've changed (see style-guide for more details).
  • [X] I've used the stylish-haskell file.
  • [ ] My change requires the documentation updates.
    • [ ] I've updated the documentation accordingly.
  • [X] I've added the [ci skip] text to the docs-only related commit's name.

drlkf avatar Jul 01 '25 17:07 drlkf

FYI the Kowainik ecosystem sees very little activity. I personally work on emergency maintenance only, but you may find another maintainer who will review and accept a PR.

tomjaguarpaw avatar Jul 01 '25 17:07 tomjaguarpaw

Thanks for the heads-up. Should I avoid using this library in the future then?

drlkf avatar Jul 01 '25 17:07 drlkf

It will continue to be maintained so that it keeps working with newer releases of GHC, so no need to avoid using it on that basis. I wouldn't expected it to add many new features though.

tomjaguarpaw avatar Jul 01 '25 18:07 tomjaguarpaw

Maybe @vrom911 can review this?

drlkf avatar Aug 07 '25 20:08 drlkf

Any chance we could have an update on this?

drlkf avatar Oct 12 '25 01:10 drlkf

I'm afraid what I previously said still applies. The only maintenance being done on relude currently is the minimum necessary to keep it building with new GHCs.

tomjaguarpaw avatar Oct 12 '25 08:10 tomjaguarpaw