Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
taolson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
taolson
1y ago
What about Miranda, Haskell, OCaml and F#?
32.
▲
by
taolson
1y ago
> Indeed Smalltalk - a pure OOP language - had `Block` objects fifty years ago. Although in the original Smalltalk-80, blocks were not full closures, so it didn't support all the things you would expect to be able to do with a lambd
33.
▲
by
taolson
1y ago
Miranda should still be readable for those with some Haskell background (it was a major influence on developing the Haskell language). I also have a more modern update to Miranda called Admiran: https://github.com/taolson&#
34.
▲
by
taolson
1y ago
While not exactly ML, David Turner's Miranda system is pretty small, and might be feasible: https://codeberg.org/DATurner/miranda
35.
▲
by
taolson
1y ago
If you program a Markov chain to generate based upon a fairly short sequence length (4 - 5 characters), it can create some neat portamenteaus. I remember back in the early 90's I trained one on some typical tech literature and it came
36.
▲
by
taolson
1y ago
Nice! I like the goals of a "simpler Haskell" for small projects ( see https://github.com/taolson/Admiran ). Some questions that weren't answered in the blog: is the evaluation model call-by-need
37.
▲
by
taolson
1y ago
Supposedly it stands for "Big Questions Notation", but that could just be a backronym.
38.
▲
by
taolson
1y ago
I don't know if these match your definition of "tiny", but there's Miranda: https://www.cs.kent.ac.uk/people/staff/dat/miranda/ and I wrote a pure, lazy, functional language and self-
39.
▲
by
taolson
1y ago
Yes, `&` (reverse apply) is equivalent to `|>`, but it is interesting that there is no common operator for reversed compose `.`, so function compositions are still read right-to-left. In my programming language, I added `.>` as a
40.
▲
by
taolson
2y ago
[edit to add]: There are also hundreds of small example programs of using Miranda2 to solve Advent of Code puzzles, here: https://github.com/taolson/advent-of-code Advent of Code Puzzle Descriptions can be found here:
41.
▲
by
taolson
2y ago
Yes, I plan to get to that; I'm currently working on documenting the compiler. I might put a pointer to existing documentation on Miranda there, as a placeholder in the meantime.
42.
▲
by
taolson
2y ago
I've written a new (self-hosting) compiler for Miranda, with additional features from Haskell and other functional languages: https://github.com/taolson/Miranda2 and have updated the examples with David Turner