• mac@infosec.pub
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      It seems to be incredibly concise, I wonder what kind of use cases this language has.

      • porgamrer@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        Datalog is sometimes used as an alternative to SQL. Prolog is used by researchers experimenting with rule systems (e.g. type systems, theorem provers, etc).

        Mercury has been used to write regular desktop software, with a couple of notable successes.

        One way to think about Mercury is that it’s like Haskell, except it’s so declarative that the functions can run backwards, generating arguments from return values! Obviously that comes with some pretty big caveats, but in many cases it works great and is extremely useful.

        • mac@infosec.pub
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          How likely is it to use one for more standard programming e.g. something where python, JavaScript, C or something would normally be used?