Coder Social home page Coder Social logo

Comments (4)

plaidfinch avatar plaidfinch commented on May 28, 2024

That is bizarre; thank you for bringing this to my attention. (Also, I still owe you an email — coming up as soon as I defend my thesis, I promise!)

NestedCount and NestedNTimes live in Data.Functor.Nested, which indeed has not been updated for GHC 7.10.

But, I think I know where your error is coming from! I rearranged where these type families live, and I think they've gotten lost in the shuffle! The version of NestedFunctor which lives on GitHub should now contain these changes, and the version of ComonadSheet on GitHub should now not contain these functions.

I don't have time to test this right now, but I'll get back to it shortly.

from comonadsheet.

ysangkok avatar ysangkok commented on May 28, 2024

It compiles fine and the glider works fine on GHC 8.10.4 if I just fix the naming in DimensionalAs. I can send a PR if you would merge it @kwf . I didn't have any issue with NestedCount.

from comonadsheet.

plaidfinch avatar plaidfinch commented on May 28, 2024

Wow, it's been a long time since I've thought about this project! I would gladly merge a PR that brought its dependency bounds back up to date. If I may ask, how did you come to be playing around with it?

from comonadsheet.

ysangkok avatar ysangkok commented on May 28, 2024

The talk was recommended to me by the YouTube algorithm. :)

To get this package to build, the dependencies need to have their versions relaxed. I just removed the upper bounds, and since that method worked so many years after the version was released, I think it is a good approach (in contrast to setting new upper bounds that would need revising). I think it is unlikely that new versions of the dependencies will break the usage here, since they haven't done it in the last 6 years. This approach also means that no new version needs to be released, since the version bounds can be relaxed using Hackage revisions.

For IndexedList:

--- a/IndexedList.cabal
+++ b/IndexedList.cabal
@@ -20,6 +20,6 @@ library
   exposed-modules:     Data.List.Indexed, Data.List.Indexed.Conic, Data.List.Indexed.Counted
   -- other-modules:       
   other-extensions:    RankNTypes, GADTs, PolyKinds, ConstraintKinds, DataKinds, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, ScopedTypeVariables, TypeFamilies, TypeOperators
-  build-depends:       base >=4.7 && <4.8, PeanoWitnesses >= 0.1
+  build-depends:       base >=4.7, PeanoWitnesses >= 0.1
   -- hs-source-dirs:      
   default-language:    Haskell2010

For NestedFunctor:

--- a/NestedFunctor.cabal
+++ b/NestedFunctor.cabal
@@ -20,6 +20,6 @@ library
   exposed-modules:     Data.Functor.Nested
   -- other-modules:       
   other-extensions:    ConstraintKinds, FlexibleInstances, GADTs, MultiParamTypeClasses, PolyKinds, RankNTypes, StandaloneDeriving, TypeFamilies, TypeOperators, UndecidableInstances
-  build-depends:       base >=4.7 && <4.8, comonad >=4.2 && <4.3, distributive >=0.4 && <0.5, PeanoWitnesses >= 0.1
+  build-depends:       base >=4.7, comonad >=4.2, distributive >=0.4, PeanoWitnesses >= 0.1
   -- hs-source-dirs:      
   default-language:    Haskell2010

For PeanoWitnesses:

--- a/PeanoWitnesses.cabal
+++ b/PeanoWitnesses.cabal
@@ -19,6 +19,6 @@ library
   exposed-modules:     Data.Numeric.Witness.Peano
   -- other-modules:       
   other-extensions:    ConstraintKinds, DataKinds, FlexibleContexts, FlexibleInstances, GADTs, ScopedTypeVariables, StandaloneDeriving, TypeFamilies, TypeOperators
-  build-depends:       base >=4.7 && <4.8
+  build-depends:       base >=4.7
   -- hs-source-dirs:      
   default-language:    Haskell2010

For Tape:

--- a/Tape.cabal
+++ b/Tape.cabal
@@ -20,6 +20,6 @@ library
   exposed-modules:     Data.Stream.Tape
   -- other-modules:       
   other-extensions:    DeriveFunctor, FlexibleInstances
-  build-depends:       base >=4.7 && <4.8, comonad >=4.2 && <4.3, distributive >=0.4 && <0.5, Stream >=0.4 && <0.5
+  build-depends:       base >=4.7, comonad >=4.2, distributive >=0.4, Stream >=0.4
   -- hs-source-dirs:      
   default-language:    Haskell2010

I have sent PR #8 separately which relaxes the version bounds for this package. That PR also contains a code change which is necessary for it to build.

from comonadsheet.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.