Feed of "valpackett/http-link-header" https://codeberg.org/valpackett/http-link-header A Haskell library for the HTTP Link header as specified in RFC 5988 "Web Linking" Tue, 14 Apr 2026 23:13:52 +0200 valpackett commented on issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3822512 Build failure with GHC 9.12 <p dir="auto">Sorry, apparently I&#39;m stupid and I thought <code>hiding</code> somehow was the opposite of <code>hiding</code>, lol.</p> <p dir="auto">1.2.3 works.</p> Sorry, apparently I'm stupid and I thought hiding somehow was the opposite of hiding, lol.

1.2.3 works.

]]>
valpackett 28772888: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3822512 Tue, 15 Apr 2025 10:15:26 +0200
valpackett pushed tag v1.2.3 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.2.3 valpackett 28772759: https://codeberg.org/valpackett/http-link-header/src/tag/v1.2.3 Tue, 15 Apr 2025 10:13:40 +0200 valpackett pushed to trunk at valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/compare/f83b512ffe31389fe6fd122599ea6199ec545f25...214060bcd073c673449368117111eb3938c545ee <a href="https://codeberg.org/valpackett/http-link-header/commit/214060bcd073c673449368117111eb3938c545ee">214060bcd073c673449368117111eb3938c545ee</a> release 1.2.3 <a href="https://codeberg.org/valpackett/http-link-header/commit/49f999e9eb8d9c9ac85d2ec0dabc2c4edea995b6">49f999e9eb8d9c9ac85d2ec0dabc2c4edea995b6</a> Update stack resolver to the new nightly that uses ghc 9.10 <a href="https://codeberg.org/valpackett/http-link-header/commit/5e580cf779e33e0098a4e7b90dd02a6e65a9cc2c">5e580cf779e33e0098a4e7b90dd02a6e65a9cc2c</a> Add hspec-discover to test deps <a href="https://codeberg.org/valpackett/http-link-header/commit/21b186624f691221e3d1d7232ad902212b3dd5c9">21b186624f691221e3d1d7232ad902212b3dd5c9</a> *Actually* fix #1 214060bcd073c673449368117111eb3938c545ee release 1.2.3 49f999e9eb8d9c9ac85d2ec0dabc2c4edea995b6 Update stack resolver to the new nightly that uses ghc 9.10 5e580cf779e33e0098a4e7b90dd02a6e65a9cc2c Add hspec-discover to test deps 21b186624f691221e3d1d7232ad902212b3dd5c9 *Actually* fix #1]]> valpackett 28772756: https://codeberg.org/valpackett/http-link-header/compare/f83b512ffe31389fe6fd122599ea6199ec545f25...214060bcd073c673449368117111eb3938c545ee Tue, 15 Apr 2025 10:13:39 +0200 andreasabel commented on issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3799463 Build failure with GHC 9.12 <p dir="auto">I am afraid the OP is not fixed in 1.2.2. It still does not work with text-2.1.2 because of the additional <code>show</code> function that was added there. I am getting the exact same error.<br/> So I placed the bound <code>text &lt; 2.1.2</code> also on 1.2.2 via revision.</p> <p dir="auto">I could help out with maintenance, but I am on github.com only, I won&#39;t maintain repos on codeberg.org.<br/> (I can&#39;t even get SSH to work on codeberg.org, just fiddled for an hour without success.)</p> I am afraid the OP is not fixed in 1.2.2. It still does not work with text-2.1.2 because of the additional show function that was added there. I am getting the exact same error.
So I placed the bound text < 2.1.2 also on 1.2.2 via revision.

I could help out with maintenance, but I am on github.com only, I won't maintain repos on codeberg.org.
(I can't even get SSH to work on codeberg.org, just fiddled for an hour without success.)

]]>
andreasabel 28422740: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3799463 Sat, 12 Apr 2025 22:27:31 +0200
valpackett commented on issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3310992 Build failure with GHC 9.12 <p dir="auto">That makes no sense 0.o the import is <code>hiding</code></p> <pre class="code-block"><code class="chroma language-text display">import Data.Text hiding (takeWhile, map, take) </code></pre><p dir="auto">And the issue doesn&#39;t reproduce with ghc 9.10.1 (which is the latest available on docker hub btw..)</p> <pre class="code-block"><code class="chroma language-text display">❯ podman run --rm -it -v $PWD:$PWD -w $PWD haskell:9.10.1 bash # cabal update # cabal build --allow-newer=base --allow-newer=template-haskell --allow-newer=text … Preprocessing library for http-link-header-1.2.2... Building library for http-link-header-1.2.2... # </code></pre><p dir="auto">Is there some kind of new explicit-only visibility thing? 0.o</p> That makes no sense 0.o the import is hiding

import           Data.Text hiding (takeWhile, map, take)

And the issue doesn't reproduce with ghc 9.10.1 (which is the latest available on docker hub btw..)

❯ podman run --rm -it -v $PWD:$PWD -w $PWD haskell:9.10.1 bash
# cabal update
# cabal build --allow-newer=base --allow-newer=template-haskell --allow-newer=text
…
Preprocessing library for http-link-header-1.2.2...
Building library for http-link-header-1.2.2...
#

Is there some kind of new explicit-only visibility thing? 0.o

]]>
valpackett 26935191: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3310992 Thu, 03 Apr 2025 02:01:20 +0200
marinelli commented on issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3144236 Build failure with GHC 9.12 <p dir="auto">It&#39;s still not enough:</p> <pre class="code-block"><code class="chroma language-text display">library/Network/HTTP/Link/Parser.hs:42:12: error: [GHC-88464] Variable not in scope: pack :: String -&gt; Text Suggested fixes: • Perhaps use ‘Data.Text.pack’ (imported from Data.Text) • Add ‘pack’ to one of these import lists: ‘Data.ByteString’ (at library/Network/HTTP/Link/Parser.hs:22:1-45) ‘Data.Text’ (at library/Network/HTTP/Link/Parser.hs:19:1-33) | 42 | return $ pack $ unEscapeString $ unpack $ mconcat v </code></pre> It's still not enough:

library/Network/HTTP/Link/Parser.hs:42:12: error: [GHC-88464]
    Variable not in scope: pack :: String -> Text
    Suggested fixes:
      • Perhaps use ‘Data.Text.pack’ (imported from Data.Text)
      • Add ‘pack’ to one of these import lists:
          ‘Data.ByteString’ (at library/Network/HTTP/Link/Parser.hs:22:1-45)
          ‘Data.Text’ (at library/Network/HTTP/Link/Parser.hs:19:1-33)
   |
42 |   return $ pack $ unEscapeString $ unpack $ mconcat v
]]>
marinelli 26179157: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3144236 Sat, 29 Mar 2025 16:41:34 +0100
valpackett commented on issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3121888 Build failure with GHC 9.12 <p dir="auto">Sorry, I haven&#39;t been maintaining this well as I&#39;ve been out of the Haskell world for quite a while now &gt;&lt; If you know of anyone who would like to take this package over, I would really appreciate it.</p> <p dir="auto">Released a new version that should fix this (now only importing <code>Data.Text (Text, pack, unpack)</code>).</p> Sorry, I haven't been maintaining this well as I've been out of the Haskell world for quite a while now >< If you know of anyone who would like to take this package over, I would really appreciate it.

Released a new version that should fix this (now only importing Data.Text (Text, pack, unpack)).

]]>
valpackett 25966649: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3121888 Fri, 28 Mar 2025 06:26:36 +0100
valpackett pushed to trunk at valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/compare/cb87757e0e9e4ae80d32cc0ed1200f7e743c710f...f83b512ffe31389fe6fd122599ea6199ec545f25 <a href="https://codeberg.org/valpackett/http-link-header/commit/f83b512ffe31389fe6fd122599ea6199ec545f25">f83b512ffe31389fe6fd122599ea6199ec545f25</a> release 1.2.2 <a href="https://codeberg.org/valpackett/http-link-header/commit/d35354a0e96ffac1cf40cf19d03fb365ef38eaec">d35354a0e96ffac1cf40cf19d03fb365ef38eaec</a> Add explicit import lists to prevent conflicts, fixes #1 <a href="https://codeberg.org/valpackett/http-link-header/commit/1d9579040c8f95d3273672301aa526ef680834a9">1d9579040c8f95d3273672301aa526ef680834a9</a> ignore dist-newstyle f83b512ffe31389fe6fd122599ea6199ec545f25 release 1.2.2 d35354a0e96ffac1cf40cf19d03fb365ef38eaec Add explicit import lists to prevent conflicts, fixes #1 1d9579040c8f95d3273672301aa526ef680834a9 ignore dist-newstyle]]> valpackett 25966622: https://codeberg.org/valpackett/http-link-header/compare/cb87757e0e9e4ae80d32cc0ed1200f7e743c710f...f83b512ffe31389fe6fd122599ea6199ec545f25 Fri, 28 Mar 2025 06:23:31 +0100 valpackett closed issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3121887 Build failure with GHC 9.12 valpackett 25966621: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3121887 Fri, 28 Mar 2025 06:23:31 +0100 valpackett pushed tag v1.2.2 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.2.2 valpackett 25966617: https://codeberg.org/valpackett/http-link-header/src/tag/v1.2.2 Fri, 28 Mar 2025 06:23:13 +0100 andreasabel commented on issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3120463 Build failure with GHC 9.12 <p dir="auto">Hej <a href="/valpackett" class="mention" rel="nofollow">@valpackett</a> can I get some triage?</p> Hej @valpackett can I get some triage?

]]>
andreasabel 25937042: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-3120463 Thu, 27 Mar 2025 17:48:07 +0100
andreasabel commented on issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-2560111 Build failure with GHC 9.12 <p dir="auto">I added bound <code>text &lt; 2.1.2</code> to the published version of this package, but we need a re-release to make it work with GHC 9.12.</p> <p dir="auto">2025-01-02T08:22:12Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-1.2.1/revisions" rel="nofollow">http-link-header-1.2.1-r4</a><br/> 2025-01-02T08:22:11Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-1.0.3/revisions" rel="nofollow">http-link-header-1.0.3-r3</a><br/> 2025-01-02T08:22:11Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-1.0.3.1/revisions" rel="nofollow">http-link-header-1.0.3.1-r3</a><br/> 2025-01-02T08:22:10Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-1.0.2/revisions" rel="nofollow">http-link-header-1.0.2-r3</a><br/> 2025-01-02T08:22:10Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-1.0.1/revisions" rel="nofollow">http-link-header-1.0.1-r3</a><br/> 2025-01-02T08:22:09Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-1.0.0/revisions" rel="nofollow">http-link-header-1.0.0-r3</a><br/> 2025-01-02T08:22:09Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-0.2.0/revisions" rel="nofollow">http-link-header-0.2.0-r3</a><br/> 2025-01-02T08:22:08Z AndreasAbel <a href="https://hackage.haskell.org/package/http-link-header-0.1.0/revisions" rel="nofollow">http-link-header-0.1.0-r3</a></p> I added bound text < 2.1.2 to the published version of this package, but we need a re-release to make it work with GHC 9.12.

2025-01-02T08:22:12Z AndreasAbel http-link-header-1.2.1-r4
2025-01-02T08:22:11Z AndreasAbel http-link-header-1.0.3-r3
2025-01-02T08:22:11Z AndreasAbel http-link-header-1.0.3.1-r3
2025-01-02T08:22:10Z AndreasAbel http-link-header-1.0.2-r3
2025-01-02T08:22:10Z AndreasAbel http-link-header-1.0.1-r3
2025-01-02T08:22:09Z AndreasAbel http-link-header-1.0.0-r3
2025-01-02T08:22:09Z AndreasAbel http-link-header-0.2.0-r3
2025-01-02T08:22:08Z AndreasAbel http-link-header-0.1.0-r3

]]>
andreasabel 21503525: https://codeberg.org/valpackett/http-link-header/issues/1#issuecomment-2560111 Thu, 02 Jan 2025 09:24:59 +0100
andreasabel opened issue valpackett/http-link-header#1 https://codeberg.org/valpackett/http-link-header/issues/1 1#Build failure with GHC 9.12# http-link-header-1.2.1$ cabal build --allow-newer=base --allow-newer=template-haskell ... Build profile: -w ghc-9.12.1 -O1 ... Building library for http-link-header-1.2.1... ... library/Network/HTTP/Link/Types.hs:36:24: error: [GHC-87543] Ambiguous occurrence ‘show’. It could refer to either ‘Prelude.show’, imported from ‘Prelude’ at library/Network/HTTP/Link/Types.hs:4:8-30 (and originally defined in ‘ghc-internal-9.1201.0:GHC.Internal.Show’), or ‘Data.Text.show’, imported from ‘Data.Text’ at library/Network/HTTP/Link/Types.hs:6:1-26. | 36 | uriToText = pack . show | ^^^^

In the wild: https://github.com/haskell-github/github/actions/runs/12557856071/job/35058603790#step:20:162

Seems to be caused by text-2.1.2 exporting show which text-2.1.1 did not:
https://hackage.haskell.org/package/text-2.1.2/docs/Data-Text.html#v:show

Strict use of qualified imports would make this package more stable.

]]>
andreasabel 21502114: https://codeberg.org/valpackett/http-link-header/issues/1 Thu, 02 Jan 2025 08:59:06 +0100
valpackett pushed to trunk at valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/commit/cb87757e0e9e4ae80d32cc0ed1200f7e743c710f <a href="https://codeberg.org/valpackett/http-link-header/commit/cb87757e0e9e4ae80d32cc0ed1200f7e743c710f">cb87757e0e9e4ae80d32cc0ed1200f7e743c710f</a> badges cb87757e0e9e4ae80d32cc0ed1200f7e743c710f badges]]> valpackett 7330078: https://codeberg.org/valpackett/http-link-header/commit/cb87757e0e9e4ae80d32cc0ed1200f7e743c710f Mon, 17 Jul 2023 08:10:06 +0200 valpackett pushed to trunk at valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/commit/b9df4e2dda4f9a1cd3ca12c40f144628c83ac992 <a href="https://codeberg.org/valpackett/http-link-header/commit/b9df4e2dda4f9a1cd3ca12c40f144628c83ac992">b9df4e2dda4f9a1cd3ca12c40f144628c83ac992</a> Project stuff b9df4e2dda4f9a1cd3ca12c40f144628c83ac992 Project stuff]]> valpackett 3788368: https://codeberg.org/valpackett/http-link-header/commit/b9df4e2dda4f9a1cd3ca12c40f144628c83ac992 Tue, 18 Oct 2022 01:43:10 +0200 valpackett pushed tag v1.2.1 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.2.1 valpackett 3788313: https://codeberg.org/valpackett/http-link-header/src/tag/v1.2.1 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed tag v1.0.3.1 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.3.1 valpackett 3788312: https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.3.1 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed tag v1.0.3 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.3 valpackett 3788311: https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.3 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed tag v1.0.2 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.2 valpackett 3788310: https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.2 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed tag v1.0.1 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.1 valpackett 3788309: https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.1 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed tag v1.0.0 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.0 valpackett 3788308: https://codeberg.org/valpackett/http-link-header/src/tag/v1.0.0 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed tag v0.2.0 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v0.2.0 valpackett 3788307: https://codeberg.org/valpackett/http-link-header/src/tag/v0.2.0 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed tag v0.1.0 to valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/tag/v0.1.0 valpackett 3788306: https://codeberg.org/valpackett/http-link-header/src/tag/v0.1.0 Tue, 18 Oct 2022 01:25:55 +0200 valpackett pushed to trunk at valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/compare/5baa497c8f518513ff40116578bd5e040a0dd71d...a36fc5667c8a2ce3591bc58baf2e10a262c378aa <a href="https://codeberg.org/valpackett/http-link-header/commit/a36fc5667c8a2ce3591bc58baf2e10a262c378aa">a36fc5667c8a2ce3591bc58baf2e10a262c378aa</a> Project stuff <a href="https://codeberg.org/valpackett/http-link-header/commit/ebcc2d02166953e1b05252ac80f54fd50d10cfc1">ebcc2d02166953e1b05252ac80f54fd50d10cfc1</a> Prepare v1.2.1 <a href="https://codeberg.org/valpackett/http-link-header/commit/26e693c5f67aff08debc0c73305fd8b4bd624b35">26e693c5f67aff08debc0c73305fd8b4bd624b35</a> Add CHANGELOG.md <a href="https://codeberg.org/valpackett/http-link-header/commit/b7380abc2b0152b6302e06cbb848cc0e66c50b64">b7380abc2b0152b6302e06cbb848cc0e66c50b64</a> Merge pull request #13 from myfreeweb/polymorph-everything <a href="https://codeberg.org/valpackett/http-link-header/commit/eaf7b2c3b7b1e2136ea8bac7e5e150c63da8705d">eaf7b2c3b7b1e2136ea8bac7e5e150c63da8705d</a> Continue to use Unicode syntax a36fc5667c8a2ce3591bc58baf2e10a262c378aa Project stuff ebcc2d02166953e1b05252ac80f54fd50d10cfc1 Prepare v1.2.1 26e693c5f67aff08debc0c73305fd8b4bd624b35 Add CHANGELOG.md b7380abc2b0152b6302e06cbb848cc0e66c50b64 Merge pull request #13 from myfreeweb/polymorph-everything eaf7b2c3b7b1e2136ea8bac7e5e150c63da8705d Continue to use Unicode syntax]]> valpackett 3788305: https://codeberg.org/valpackett/http-link-header/compare/5baa497c8f518513ff40116578bd5e040a0dd71d...a36fc5667c8a2ce3591bc58baf2e10a262c378aa Tue, 18 Oct 2022 01:25:54 +0200 valpackett created branch trunk in valpackett/http-link-header https://codeberg.org/valpackett/http-link-header/src/branch/trunk valpackett 3788304: https://codeberg.org/valpackett/http-link-header/src/branch/trunk Tue, 18 Oct 2022 01:25:54 +0200 valpackett created repository valpackett/http-link-header https://codeberg.org/valpackett/http-link-header valpackett 3788299: https://codeberg.org/valpackett/http-link-header Tue, 18 Oct 2022 01:24:26 +0200