-
Notifications
You must be signed in to change notification settings - Fork 5
Ghc9x #9
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
base: master
Are you sure you want to change the base?
Ghc9x #9
Conversation
|
Curious. What is your use case for this? |
|
Hi,
thanks for contacting me. We have this project https://www.clafer.org/ which is a modeling language and a compiler.
It has been dormant for years, but people still keep using it and I am now modernizing it to work with the current GHC.
https://github.com/gsdlab/clafer/commits/develop
I tried migrating to Data.HashMap but they don't have the "prefixFind" function (https://hackage.haskell.org/package/data-stringmap-1.0.1.1/docs/Data-StringMap-Strict.html#v:prefixFind), which we use. Do you know of an alternative package that would provide that?
Thanks a lot for your package.
Best,
--
Michał Antkiewicz, MSc., PhD
Research Engineer
Waterloo Intelligent Systems Engineering (WISE) Lab
University of Waterloo
https://uwaterloo.ca/wise-lab/
E7-5418
…________________________________
From: Sebastian Wagner ***@***.***>
Sent: August 24, 2023 10:23 AM
To: sebastian-philipp/StringMap ***@***.***>
Cc: Michal Antkiewicz ***@***.***>; Author ***@***.***>
Subject: Re: [sebastian-philipp/StringMap] Ghc9x (PR #9)
Curious. What is your use case for this?
—
Reply to this email directly, view it on GitHub<#9 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AADLKSOL7KI23YV25KYZNUTXW5PW7ANCNFSM6AAAAAA35BIYXQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
Yeah, right this is probably the only reason to use this package at all. There is just one problem: I have no easy way to verify your PR. Let me think. |
|
I tried to get benchmarking working. Added |
|
Also, here are the results of the tests: |
I think the only maintained package that qualifies right now is bytestring-trie, I am in the process of writing a highly similar package to that, with the goals of higher generality ( |
Make the code compatible with GHC 9.x.
failCode now also builds with
with cabal 3.10 and 3.6 (with ghc < 9.4).