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 503389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:23:21+00:00 2026-05-13T06:23:21+00:00

What kind of problems is better solved in Prolog than in Haskell? What are

  • 0

What kind of problems is better solved in Prolog than in Haskell? What are the main differences between these two languages?


Edit

Is there a Haskell library (kind of a logical solver) that can mimic Prolog functionality?

  • 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-05-13T06:23:21+00:00Added an answer on May 13, 2026 at 6:23 am

    Prolog is mainly a language targeted at logical problems, especially from the AI and linguistic fields. Haskell is more of a general-purpose language.

    Prolog is declarative (logical) language, what makes it easier to state logical problems in it. Haskell is a functional language and hence much better suited to computational problems.

    Wikipedia on declarative programming:

    In computer science, declarative
    programming is a programming paradigm
    that expresses the logic of a
    computation without describing its
    control flow. It attempts to minimize
    or eliminate side effects by
    describing what the program should
    accomplish, rather than describing how
    to go about accomplishing it. This is
    in contrast from imperative
    programming, which requires a detailed
    description of the algorithm to be
    run.

    Declarative programming consider
    programs as theories of a formal
    logic, and computations as deductions
    in that logic space. Declarative
    programming has become of particular
    interest recently, as it may greatly
    simplify writing parallel programs.

    Wikipedia on functional programming:

    In computer science, functional
    programming is a programming paradigm
    that treats computation as the
    evaluation of mathematical functions
    and avoids state and mutable data. It
    emphasizes the application of
    functions, in contrast to the
    imperative programming style, which
    emphasizes changes in state.
    Functional programming has its roots
    in the lambda calculus, a formal
    system developed in the 1930s to
    investigate function definition,
    function application, and recursion.
    Many functional programming languages
    can be viewed as embellishments to the
    lambda calculus.

    In short a declarative language declares a set of rules about what outputs should result from which inputs and uses those rules to deduce an output from an input, while a functional language declares a set of mathematical or logical functions which define how input is translated to output.


    As for the ADDED question : none that I know of but you can either translate Haskell to Prolog, or implement Prolog in Haskell 🙂

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

Sidebar

Related Questions

What kind of problems might this cause? Is it better to install in a
I am a newbie for solving these kind of problems. I need to extract
I'm sure this is the kind of problem other have solved many times before.
Note: There was not any question with this kind of problem here or anywhere...
In medical imaging, there appears to be two ways of storing huge gigapixel images:
Migrations are undoubtedly better than just firing up phpMyAdmin and changing the schema willy-nilly
I'm facing kind of typical issue. Imagine typical 1-N relationship between objects. To be
I have some kind of problem with jQuery selectors. Let's say i want to
I have a strange kind of problem. I'm totally new to symfony2 so forgive
Even though I've been reading other topics about my kind of problem, I can't

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.