#functional_programming

alephoto85 :endeavourOS: :netbsd: :freebsd: :xmpp:alephoto85@fedi.bobadin.icu
2026-01-14

The journey continues, slowly but surely.
I should start doing some exercises on Project Euler again. Really fun.

original post on org-social:

https://preview.org-social.org/?post=https%3A%2F%2Fwww.alessandroliguori.it%2Fsocial.org%232026-01-13T23%3A54%3A43%2B0100

#functional_programming #haskell #haskellings #dev

My progress on haskellings. 
Output of the command "haskelling list"  in xfce4-terminal (fish shell)
alephoto85 :endeavourOS: :netbsd: :freebsd: :xmpp:alephoto85@fedi.bobadin.icu
2026-01-01

I never noticed it before, but does anyone really think this interactive tutorial on the home page works?

Well, it worked for me 🤣🤣🤣

...and so begins the first day of the year:

curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh


https://www.haskell.org/

#haskell #functional_programming #functionalprogramming #happy2026

Screenshot of haskell lang home page
alephoto85 :endeavourOS: :netbsd: :freebsd: :xmpp:alephoto85@fedi.bobadin.icu
2025-12-26

Devo smettere di fare ricerche in rete altrimenti trovo roba interessante e poi mi tocca passare le serate a casa davanti al pc 🤣

"I had the pleasure of serving as the summer instructor for 15-150, the introduction functional programming class for computer science students at Carnegie Mellon, in the Summer 2023 semester.

This course typically serves as the second or third course in the traditional computer science undergraduate sequence, a privilege which not many other universities get to enjoy, as functional programming is often considered a niche topic.

Despite this, I (and CMU) believe this to be of the utmost importance. A disciplined, type-oriented, safety-first view of programming can be of utmost benefit to burgeoning computer science scholars, and I have often heard feedback from students that it is has a transformative view on their perspective of computer science in general.

To that end, I have made my lecture materials from my iteration of the course available for free on the Internet. Please feel free to use this knowledge in any way that you see fit, and I hope that it aids you in your future endeavors."

Parliamo di programmazione funzionale e in particolare di StandardML. Magari può interessare a qualcunə...

https://brandonspark.github.io/150/

#functional_programming #functionalprogramming #standardml #ocaml #programming #dev

Does anyone know if an inductive Nat datatype defined as a place-value system could replace the need to rewrite the PA definition to bigints in the compiler?

#theoremProving #types #functional_programming

Monad laws in Raku - Anton Antonov

discuss.tchncs.de/post/49050806

2025-10-09

What Might Functional Programming Mean

mander.xyz/post/39615531

2025-09-11

I'm getting started with functional programming, which language would you recommend?

gregtech.eu/post/19047961

2025-08-29

🚀 Higher-Kinded-J v0.1.7 is LIVE!

We've packed this release with ergonomic features for more expressive & robust Java:

✨ Smarter Optics: @GenerateLenses now auto-creates with* methods for easy immutable updates on your records.
🎯 Targeted Traversals: New Traversals.forMap(key) plus modify() & getAll() for precise map value handling.
✅ Powerful Error Accumulation: Validated is now an Applicative, using Semigroup to beautifully accumulate errors.
🧮 Deeper Foundations: New Semigroup, Monoid, & Foldable interfaces bring category theory power to Java.
↔️ Enhanced Type Flexibility: Wildcards (? super, ? extends) improve compatibility for Functor, Applicative, Monad.

All documented in the updated hkj-book!

Explore more: higher-kinded-j.github.io/

#Java #functional_programming #HigherKindedTypes #Optics

2025-06-24

Преодоление сложности в самом сердце Анемичной Модели

Доброго времени суток, Хабр! Сегодня хотел бы поговорить об анемичной модели — одном из самых дискуссионных топиков (особенно для приверженцев DDD) и о том, как, по моему мнению, правильно её готовить. Для кого-то анемичная модель — это антипаттерн, тогда как для других это единственный правильный способ реализации приложений. Многие использовали её годами и даже не знали, как она называется, и что кем-то она считается антипаттерном. Реальность же такова, что анемичная модель — это инструмент, который может подходить или не подходить в зависимости от ситуации, но при этом является очень популярным и, по факту, «стандартом де-факто» для многих программистов и организаций. Хотя в последние годы я и вижу тенденцию к тому, что DDD и, соответственно, богатая доменная модель становятся всё популярнее, пока что, по моему мнению, им далеко до популярности анемичной модели.

habr.com/ru/articles/917012/

#ddd #software_design #anemic_model #refactoring #architecture #java #oop #web_development #domain_driven_design #functional_programming

Ashton Wiersdorfwiersdorf@fosstodon.org
2025-06-18

What monads get used the most?

That’s not a terribly well-formed question, I think. I write a lot of Elixir and find myself reaching for Error and Writer a *ton*. Is there any survey on this?

#monad #functional_programming

2025-06-15

🚀 just uploaded (link in reply): "Folding Cheat Sheet #9 List Unfolding - unfold as the Computational Dual of fold, and how unfold relates to iterate" #scala #haskell #folding #unfolding #iterate #functional_programming

2025-05-31

🚀 just uploaded (link in reply): "List Unfolding -
unfold as the Computational Dual of fold,
and how unfold relates to iterate" #folding #unfolding #fold #unfold #foldL #foldL_prime #unfoldL #unfoldL_prime #unfoldr #iterate #anamorphism #catamorphism #functional_programming #scala #haskell

Alavi | علویalavi@techhub.social
2025-05-30

Today I spent a LOT of time solving AoC2024 day2 puzzle.

I solved it in three ways:
1. Javascript, just how I normally write it (somewhat functional programming)
2. A fully FP javascript solution
3. clojure solution

I realized some interesting things:
1. the functional programming js solution was very pretty and clean, and I think js is pretty good at FP. (I'm just learning FP so maybe I'm wrong)

2. the effective LOC of both clojure and js solution were exactly the same, and I think in the cleanliness and readability department they are very similar. But maybe that is because I'm much more used to js

3. The effective LOC of the functional solutions were almost half the LOC of the "normal" solution

Here are the solutions
github.com/alirezaalavi87/adve

#adventofcode #javascript #clojure #functional_programming

2025-05-18

🚀 just uploaded (links in reply): Drawing Heighway’s Dragon - Part 4 - Interactive and Animated Dragon Creation #scala #functional_programming #computer_graphics

2025-05-08

In #haskell, if you were implementing, say, a Lisp interpreter, is there a "REPL monad"?

It feels like there should be one, but I cannot think of it for the life of me...

#Haskell #functional_programming #monad

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst