Comments (3)
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.
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.
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)
- Exception handling segfaults in the msys2/mingw64 build on Windows HOT 5
- Wiki improvements
- Faust interface: Implement the Faust UI addSoundfile callback
- pure --check spurious syntax errors
- compilation on Debian stretch fail. HOT 2
- The printed output of exp(1e-15) does not correspond to the actual value HOT 1
- Can't install from apt HOT 12
- Suggestion: distribute fully-dockerized builds HOT 3
- Inline code (invalid value) HOT 2
- pure-mode for emacs? HOT 2
- pure-gen compilation troubles HOT 4
- Problem installing LV2 package HOT 2
- pure-docs mispackaging on Arch HOT 2
- Can turn off JIT? HOT 1
- Please make pure-lang available on Homebrew on macOS. HOT 10
- pure-octave: /bin/sh: dynamiclib: command not found HOT 1
- TeXmacs (option/plugin) HOT 9
- cabal: unrecognised command: v1-update, Maybe you meant `v2-update`? HOT 5
- pure-octave: clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
- pure-lang gnumeric package.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pure-lang.