Data types à la carte
Data types à la carte
Algebraic Effects for the Rest of Us
https://overreacted.io/algebraic-effects-for-the-rest-of-us/
#HackerNews #AlgebraicEffects #FunctionalProgramming #Programming #Concepts #SoftwareDevelopment
To wit: I have just released a new version of my Cozenage Scheme interpreter. What is Cozenage?
Cozenage is a Scheme-derived, Lisp-like programming language written in C, designed primarily as an educational project and exploratory implementation. It provides a small, expressive core language and is extended through a growing standard library of dynamically loadable modules.
You should almost certainly install this program, and start writing some Scheme code! Scheme is awesome!
You can clone from GitHub, or download release tar and zip files:
https://github.com/DarrenKirby/cozenage
There is documentation available here:
https://darrenkirby.github.io/cozenage/
Honestly though, I don't really know what I'm doing. I'd really just like some folks who are not me to run this, and try to daylight some bugs as I'm sure there are many!
Did you know you can pass < or > directly into sorted(by:) as closures? This technique leverages Swift's functional programming capabilities for more expressive and concise collection sorting.
🔗: https://nilcoalescing.com/blog/SortingArraysInSwiftUsingComparisonOperators/ by Natalia Panferova (@natpanferova)
```
// ranged.gleam
pub opaque type Ranged { Ranged(value: Int, min: Int, max: Int }
pub fn new(value, min, max) -> {
Ranged(
value: int.clamp(value, min:, max:),
min:,
max:,
)
}
pub fn set(current: Ranged, to new: Int) -> Ranged {
Ranged(
value: int.clamp(
new,
current.min,
current.max,
),
min: current.min,
max: current.max,
)
}
```
1 of 2
#gleam #gamedev #functionalprogramming
edit: noo, my indentation :(
New blog post: Rules, Types, and Glue: A Multi-Paradigm Architecture for Game Simulation 🎮🧱
A deep dive into combining classical AI and strict type systems for high-performance simulation engines. I evaluate:
🧠 Prolog for symbolic reasoning (Rules)
🧱 Coalton for static type-safety (Types)
🔄 Common Lisp as the high-speed runtime (Glue)
Includes SBCL vs. ECL performance benchmarks.
Read it here: https://dwightaspencer.com/posts/03-rules-types-and-glue/
#CommonLisp #Prolog #StandardML #FunctionalProgramming #GameDev #Simulation
A technical evaluation of Prolog, ML-style types (Coalton DSL), and Common Lisp as a layered architecture for game simulation engines. Benchmarks across SBCL and ECL, portability findings, and architectural conclusions about where each paradigm earns its place.
🚀 Scala Days 2026 Call for Papers is now OPEN!
If you’ve been thinking about sharing your experience with Scala, functional programming, tooling, libraries, distributed systems, or anything from the Scala ecosystem — this is your chance 🎤
CFP link 👉 https://cfp.scaladays.org/scala26/cfp
Would love to see more community voices on the Scala Days stage ❤️
#Scala #ScalaDays #FunctionalProgramming #JVM #Programming #TechCommunity
There's an "Ultimate Functional Programming Bundle" on Humble Bundle right now. And…
… if only I had more time (and a need (and fewer constraints on colleagues _also_ needing to know it))…
The "Seven Obscure Languages in Seven Weeks" book particularly caught my eye 😁
https://www.humblebundle.com/books/ultimate-functional-programming-pragmatic-programmers-books
#FunctionalProgramming #HumbleBundle #PayWhatYouWant #Charity
UK Racket meet-up: London 7:30pm Tuesday 19 May 2026
at The City Pride 🍕28 Farringdon Ln, London EC1R 3AU
Join us for discussion and pizza. All welcome.
https://racket.discourse.group/t/uk-racket-meet-up-7-30pm-tuesday-19-may-2026/4215
https://luma.com/2efru5cn
https://www.eventbrite.co.uk/e/uk-racket-meet-up-tickets-1989775291460
#racket #lisp #scheme #functionalprogramming

UK Racket meet-up Tuesday 19 May 2026 7:30pm The City Pride 🍕 28 Farringdon Ln, London EC1R 3AU Join us for discussion and pizza. All welcome. https://luma.com/2efru5cn https://www.eventbrite.co.uk/e/uk-racket-meet-up-tickets-1989775291460 # UK Racket meet-up: London 7:30pm Tuesday 19 May 2026 at The City Pride 🍕 28 Farringdon Ln, London EC1R 3AU Join us for discussion and pizza. All welcome. https://racket.discourse.group/tag/event/9 https://luma.com/2efru5cn https://www.eventbrit...