Comments (9)
Thanks @Bodigrim .
I hadn't tried, but let's just say that I'm not surprised. I was sort of expecting this to happen even. I'm not 100% sure how best to make a version which is compatible with both GHC 9.2 and GHC 9.4 yet. (I've been having issues with just being compatible with GHC 9.2, see #414 )
My favoured plan is to make two files which export Generically
, one that defines it, and one that re-exports base's one. Build with the former in GHC 9.2 and with the latter in GHC 9.4.
from linear-base.
All that being said, I'm a bit swamped right now, so I'll be slow to implement any solution.
from linear-base.
There's an additional issue here when building with 9.4:
• The ‘~’ operator is out of scope.
Assuming it to stand for an equality constraint.
• NB: ‘~’ used to be built-in syntax but now is a regular type operator
exported from Data.Type.Equality and Prelude.
If you are using a custom Prelude, consider re-exporting it.
• This will become an error in a future GHC release.
|
157 | n ~ Arity b f
| ^
The recommendation from here appears to fix it:
module Prelude.Linear.Internal
( module Prelude.Linear.Internal
, module Data.Type.Equality
) where
from linear-base.
I think this proposal would be the reason.
from linear-base.
Yeah, thanks. Just updated the previous comment :)
from linear-base.
https://hackage.haskell.org/package/generically ?
from linear-base.
Don't we always want our own version?
from linear-base.
I didn't know about the generically package, thanks for point it out @L-as. It would have worked, but we ended up deploying our own version. in #427 . This issue should have been closed (I'll close it now), but we mistakenly didn't.
I'll release very soon, I just need a couple of hours of focus time to push a few PRs and make the release.
from linear-base.
I am still getting issues with the dep tasty-hedgehog being marked as broken when testing this on ghc 9.4 using nix (probably out of scope), maybe a hackage release with different bounds can help though?
from linear-base.
Related Issues (20)
- Provide Ormolu via Nix HOT 6
- `linear-base` has a `streaming`-style `Stream` type. Should it have a `streaming-bytestring` style `ByteStream`? HOT 1
- Dispose with side effects HOT 9
- Fails to build with GHC 9.6 alpha2 HOT 19
- 0.3.1 doesn't build with GHC 9.0 HOT 3
- [Doc question] Definition of linear HOT 3
- Movable for amortized structures HOT 11
- Question: unrestricted list functions HOT 1
- Eq and Ord classes don't seem very useful HOT 3
- We're broken on master (929161943f19) HOT 7
- Remove cycle and repeat from Data.List.Linear HOT 11
- Add one or more queue/steque types HOT 5
- More natural takeWhile analogue? HOT 2
- Lazy tuple workaround HOT 6
- Lens won't work as expected due to the missing `Functor (FUN 'One a)` instance (both `Data` and `Control`) HOT 3
- How ready is Linear Haskell for real world use cases? HOT 3
- linear-base-0.1.0 build failure with GHC 9.8 HOT 7
- Word does not have instances for the Data.Num.Linear typeclasses HOT 2
- Pull array index isn't safe HOT 2
- &, T tensor HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linear-base.