Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8023649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:37:20+00:00 2026-06-04T22:37:20+00:00

I see a lot of Haskell packages listed here: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:database Are all these packages

  • 0

I see a lot of Haskell packages listed here:

http://hackage.haskell.org/packages/archive/pkg-list.html#cat:database

Are all these packages compatible with each other? If I bring in say 10 packages in order to make a program, are they all going to be OK. What if I brought in all packages listed on the page?

Imagine if you are in Java, in Java if you bring in say 10 jar’s from around the web, there maybe dependancies between the JAR’s that mean that one JAR requires a version other another JAR that is not a good version for a different JAR. For example, one JAR may need Hibernate version 3.0.0 and another needs Hibernate 2.0.0. So I cannot use these two jars because they don’t use a common equal Hibernate version.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:37:21+00:00Added an answer on June 4, 2026 at 10:37 pm

    You have the same problem in Haskell, although as pointed out Cabal is exceptionally smart at resolving dependencies the best way.

    Cabal will happily install multiple versions of a package, but that can lead to a subtle error when creating your own: Your package might indirectly depend on multiple versions (Cabal warns you about that when doing configure), which holds a subtle surprise: When you refer indirectly (e.g. through type inference) to a type, say State, it might be resolved to mtl 1.x at one place and mtl 2.x in another, and the two can’t be unified. This becomes a problem when you use two packages and want to combine them in your code. It’s seldomly a problem, but it is noteworthy.

    Note also that Haskell packages usually depend on a version range instead of a single version. This means that Cabal builds the intersection of accepted versions and uses the newest in it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see a lot of questions, both here on SO and elsewhere, about maintaining
I see a lot of talk on here about functional languages and stuff. Why
As I am learning Haskell, I see that there is a lot of language
I see a lot of JDK 1.6 notes about how to open an HTML
I see lot and lot of advantage in using Knockout.js in my MVC project
I see lot of new machines and laptops now having 64 bit hardware and
I see a lot on converting a date string to an datetime object in
I see a lot of entries for doing this in C#, but nothing for
I see a lot of different point of views on internet concerning meta tags
I see a lot of debate going back and forth on which language to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.