Coder Social home page Coder Social logo

Comments (3)

agraef avatar agraef commented on June 8, 2024

Well, I already discuss this, to some extent, on the homepage (check the Examples section), in the Pure Quick Reference (specifically, check Section 8.10) and on the Rewriting wiki page, and some more symbolic evaluation examples are listed on the Examples wiki page, so I'm not sure what more I could do.

In particular, the units.pure example is one of the less esoteric examples where term rewriting is actually being used, and most programmers can probably relate to this.

The average user with the mundane kind of programming tasks that you mention will probably benefit more from Pure as a dynamically typed, JIT-compiled alternative to the likes of ML and Haskell, which makes it easier to get into functional programming if they're using Python or Ruby right now but may be curious about FP.

Maybe it would be a good idea to take this discussion to the mailing list where other users may chime in. I'm not sure what to do about this ticket, so I'm closing it for now. But feel free to reopen it if you have examples which should be added to the docs and/or the sources.

from pure-lang.

richsmith92 avatar richsmith92 commented on June 8, 2024

Thanks for the answer! I didn't notice you have a mailing list, I'll probably use it next time.

Regarding rewriting, pattern matching in Haskell feels very second-class, so next time I encounter its limitations, I'll try to implement the same logic in Pure. This should be a good show case for me at least.

from pure-lang.

agraef avatar agraef commented on June 8, 2024

Regarding rewriting, pattern matching in Haskell feels very second-class

Exactly. In particular, Haskell hasn't anything like Pure's reduce or Mathematica's ReplaceAll.

from pure-lang.

Related Issues (20)

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.