src/Hakyll/Convert/Blogger.hs:230:14: warning: [GHC-63394] [-Wx-partial]
In the use of ‘head’
(imported from Data.List, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
230 | map (first head . unzip)
| ^^^^
This fixes the build with GHC 9.8: https://github.com/commercialhaskell/stackage/issues/7304
Also fix the following GHC 9.8 warning: