Carnap – A formal logic framework for Haskell

(carnap.io)

108 points | by ravenical 2 days ago ago

20 comments

  • keiferski 2 days ago

    If you were wondering, the name comes from a famous philosopher and logician:

    https://en.wikipedia.org/wiki/Rudolf_Carnap

    • Pet_Ant a day ago

      Thanks... you just ruined it.

      I was so happy that finally that splendid slumber during transportation was finally getting the recognition it so richly deserves.

      ;)

      • keiferski a day ago

        Ha, I’ve been familiar with Carnap for probably a decade and it took your comment for me to realize his name is Car Nap.

  • netdevphoenix 2 days ago

    An Open Tower project. Copyright 2015-2024.

    Doesn't look like it is been updated in a while. And the GitHub repos last commits are even older. Dead project?

    • gleachkr 2 days ago

      Hey, Carnap creator here. Definitely not dead (still actively used by plenty of universities), but pretty stable these days.

    • benrutter 2 days ago

      I think that's probably unlikely given the long list of universities using it[0].

      It's an educational tool for formal propositional logic which hasn't really changed much on 100 years, so probably not a lot of updates are required unless there are big new updates to Haskell itself.

      [0] https://carnap.io/about

      • imovie4 a day ago

        the list is also incomplete! I used carnap for intro logic and my college isn't there

        • ravenical a day ago

          My university's course (how I found out about it) isn't there either - seems like it's mostly US-focused

          • gleachkr a day ago

            Y'all want to email me? I'll see about updating the list.

    • LandR 2 days ago

      Or maybe it's finished ?

      • mark_l_watson 2 days ago

        +1

        It seems to of had the web app portion updated a year ago. And as you say, the application itself looks ‘done.’

        I have frequently used Common Lisp over the last 40 years, and I hear comments about libraries being old and not updated in many years: so what! Quality code that performs a specific function sometimes is ‘done.’

        I am a novice Haskell programmer but I enjoy the language and it is very cool to have the Carnap github repo with a book manuscript, backend and front end code to look over.

  • cartucho1 2 days ago

    For something similar, but in Python, I made this a while ago:

    https://logics.readthedocs.io/en/latest/

    GUI here:

    https://taut-logic.com/

  • cubefox 2 days ago

    I don't like the trend of naming software projects after real people. It makes web search harder both for people who try to find the person and for people who try to find the project.

    • amelius 2 days ago

      I don't like the trend of naming computer hardware after fruit.

      • ffuxlpff a day ago

        I don't like naming things after other things. Names should be self explanatory or random codes.

        • Cheyana a day ago

          Everything should just be in Zalgo text.

          • thih9 a day ago

            Instead of a single name an AI should dynamically generate the name that best represents the product’s current iteration. In Zalgo text.

  • throwaway4x4 2 days ago

    Past experience in logical frameworks tend to specify documentclass: script, letter, report, etc.