amen zwa, esq. · @AmenZwa
160 followers · 1606 posts · Server mathstodon.xyz

The VM was designed, from the start, for the language Erlang. The JVM and the CLR were designed for objective languages, Java and C#, respectively. Yet, most new functional languages target JVM and CLR, and relatively few target BEAM. Odd....

github.com/llaisdy/beam_langua

#programming #functional #beam

Last updated 1 year ago

jobRxiv · @jobRxiv
1023 followers · 3974 posts · Server mas.to
· @DiazCarrete
32 followers · 296 posts · Server hachyderm.io
Tripleo · @tripleo
34 followers · 601 posts · Server fosstodon.org
amen zwa, esq. · @AmenZwa
125 followers · 1354 posts · Server mathstodon.xyz

I just published "PDF: purely functional data structures in " on GitHub.

These are Elm reimplementations of the data structures presented in the book " " (1999) by Prof. Okasaki. It is the only one of its kid that I am aware. It is a tour de force of functional thinking. The book includes and implementations.

Okasaki is a descendant of the ML tradition. His PhD advisor at CMU during the mid 1990s was Prof. Harper who wrote "Programming in Standard ML" (2011), contributed to the definition of the language, and was a member of the ML posse, alongside Milner, Tofte, Reppy, MacQueen, et al.

I chose for the following reasons:

• Elm is a purely functional language
• Elm does not yet have a comprehensive library of data structures
• Elm evolves at a deliberate pace, with subsuming to the modern CI/CD pipeline pressure
• Elm is one of the simplest languages
• Elm is sane
• These properties make Elm a good candidate for use in education, for teaching FP, for teaching data structures, and for teaching disciplined web programming, and a comprehensive collection of data structures could be of use in undergraduate education

An unstated, but no less important, reason for my choosing Elm is Python fatigue. I currently use Python at work, and I am also expanding my "CLRS algorithms in Jupyter notebooks" project. I like Python, but many hours of Python a day is deleterious to my . Elm is both the prophylactic and the cure.

Please note that both PDF and CLRS are my solo projects, and they are works in progress that grow incrementally. Both projects aim to help undergraduate students.

github.com/amenzwa/pfd

#mentalhealth #cs #fp #haskell #standardml #datastructures #functional #purely #elm

Last updated 1 year ago

movvon · @movvon
0 followers · 57 posts · Server mastodon.cloud

Trendy,Functional,and Space-Saving:Discover the Extendable Dining Table!

#trendy #functional

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
120 followers · 1272 posts · Server mathstodon.xyz

When I write in the style (for clarity) using an essentially imperative language, like Python, I don't have a qualm mutating variables all over the code.

But when I write in the style code (for efficiency) in an essentially declarative language, like OCaml, I feel guilty every time I had to mutate a variable and whenever I had to read that code again.

#procedural #functional #programmes

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
113 followers · 1215 posts · Server mathstodon.xyz

Those of us who use languages—we call ourselves "functional programmers".

What should we call those who use procedural and objective languages: "dysfunctional programmers"?

#programming #functional

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
110 followers · 1177 posts · Server mathstodon.xyz

As a teen, I wrote my first toy programmes in 6502 assembly. Immediately there after, I learned FORTRAN, C, and Pascal in quick succession. I was as happy an as one could get.

Then, in college in the early 1980s, I was introduced to LISP, Scheme, and ML, along with the paradigm. In those days, I felt guilty, whenever I caught myself thinking in the imperative way, which was mighty tempting in LISP and Scheme.

As decades wore on, my view of and has soften from a "dichotomy" to an "admixture". I'm no longer purely procedural nor any longer am I purely functional; I'm now just purely pragmatic.

This is also the reason why all modern languages are OO-FP hybrids.

#functional #procedural #declarative #programmer #imperative

Last updated 1 year ago

RedGlow · @RedGlow
0 followers · 2 posts · Server mastodon.gamedev.place

time!

I love , I do it since *redacted* years, especially interested in languages and in general about software architecture.

Started to accumulate some experience inside @owofgames .

I have strong opinions about games and game culture, but I'll mostly post about technical stuff in here.
(probably)
(maybe)
(well, i guess my current propic already says a lot)

#introduction #programming #functional #gamedev

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
99 followers · 1126 posts · Server mathstodon.xyz

to industry peers and graduate students in academia is mighty rewarding. But having to teach FP to junior IT programmers and novice CS students can be quite frustrating.

In , deep experience and broad perspective matter much, much more than possessing mere skills.

#computing #programming #functional #teaching

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
81 followers · 996 posts · Server mathstodon.xyz

seesaw fortunes of :

• 1930s: ↑ 𝜆-calculus
• 1940s: ↓ Turing Machine
• 1950s: ↑ LISP
• 1960s: ↓ ALGOL
• 1970s: ↑ rule-based AI craze
• 1980s: ↓ C, C++, Objective-C
• 1990s: ↑ OCaml, Haskell
• 2000s: ↓ Java, C#
• 2010s: ↑ FRP craze
• 2020s: ↓ Nim, Zig, Odin, V, Z, ...

#programming #functional

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
81 followers · 988 posts · Server mathstodon.xyz

We all know and love those classic textbooks on , like Knuth, CLR, Sedgewick, etc. But these traditional texts lean toward the approach, when describing implementations. It is uncommon to see books focused on the approach to algorithm implementation. The following are a few of my favourites on functional algorithms and functional data structures:

• Algorithms: A Functional Programming Approach, Rabhi
• Pearls of Functional Algorithm Design (Haskell), Bird
• Purely Functional Data Structures (Standard ML), Okasaki
• Functional Programming and Graph Algorithms, King
• Functional Data Structures and Algorithms: A Proof Assistant Approach, Nipkow

#functional #imperative #algorithms

Last updated 1 year ago

gram · @orsinium
14 followers · 35 posts · Server fosstodon.org

The only thing Go is missing to be a good language is a concise syntax for lambda expressions. It already has generics, polymorphism, first-class functions and basic type inference, and immutable data structures aren't hard to build. Just compare:

:
arr.Map(function(x int) int { return x*2 })

:
arr.map(|x| x*2)

I know it was never designed to be functional, but such a small syntax sugar can do such a big difference.

#functional #golang #rust

Last updated 1 year ago

CogniZENsible · @TechGuerrero
1 followers · 88 posts · Server mindly.social

Organize thyself. The tricks and the accoutrement.

tinyurl.com/2y3hlzjr

#organization #neathome #neaty #functional

Last updated 1 year ago

Felix · @leobm
228 followers · 3239 posts · Server norden.social

What is the reason why this language has so little attention? Restrictive licensing conditions ? Can someone explain this to me? Basically this language looks like a wet dream to me....

#Shen #lisp #erlang #prolog #functional

Last updated 1 year ago

Marcus Rohrmoser 🌍 · @mro
106 followers · 350 posts · Server digitalcourage.social
LibertyForward1 · @LibertyForward1
2662 followers · 25109 posts · Server misfittoys.social

My partner and I desperately need both individually and as a couple. This is yet another delightful of ; we're too to get the help we need to function like normal adults, and we're not stable or enough to maintain the kind of necessary to pay for thorough, effective .

#mentalhealth #therapy #feature #poverty #poor #functional #income #psychotherapy

Last updated 1 year ago

screwtape · @screwtape
243 followers · 2734 posts · Server mastodon.sdf.org
Clojure Vienna · @cljvie
28 followers · 4 posts · Server clj.social

We shall meet again! 7th June, 7pm at Weinstube Josefstadt.

Info & RVSP ➡️ meetup.com/clojure-vienna/even

#clojure #meetup #vienna #functional

Last updated 1 year ago