Grilled Cheese

ExploreLog inSign up

raganwald.com

@raganwald.functional.cafe.ap.brid.gy

2 Following27 Followers

Reg "raganwald" Braithwaite's account for discussing functional programming and shamelessly plugging essays about programming.

Follows are NOT endorsements. This […]

🌉 bridged from ⁂ https://functional.cafe/@raganwald, follow @ap.brid.gy to interact

PostsRepliesMedia
@raganwald.functional.cafe.ap.brid.gyDec 5, 2026, 3:13 AM

@jbrains Self-indulgent and emotional? I prefer to say that this is what “being authentic” actually means. And in this world of digital inauthenticity…

Well done.

J@jbrains.mastodon.social.ap.brid.gyDec 5, 2026, 12:43 AMReposted by @raganwald.functional.cafe.ap.brid.gy

This one is self-indulgent and emotional, but it's real. And I really, really hope that some of The Old XP Folks read it. If you know one, then please forward this on to them.

blog.jbrains.ca/permalink/a-…

blog.jbrains.ca
@raganwald.functional.cafe.ap.brid.gyDec 3, 2026, 6:15 PM

In the late 80s I read a book about Apple's Object Pascal, and when it explained implementing undo, redo, and an undo stack using what we now call the command pattern and polymorphism, my mind broke and I never saw code the same way again.

Now I see this on […]

[Original post on functional.cafe]

A snippet of a web page showing number 16 of a list:


What Could Object Pascal Look Like in 2030? (remobjects.com)
16 points by carteragecat 1 hour ago | flag | hide | 4 comments
@raganwald.functional.cafe.ap.brid.gyDec 1, 2026, 3:41 PM

Pulling on that thread lead me to Jolt, a Clojure built on Chez!

github.com/jolt-lang/jolt

#chez #scheme #clojure

github.comGitHub - jolt-lang/jolt: A Clojure compiler implemented on top of Chez SchemeA Clojure compiler implemented on top of Chez Scheme - jolt-lang/jolt
@raganwald.functional.cafe.ap.brid.gyDec 1, 2026, 3:40 PM

“Chez from a Clojurian Perspective”

get-aksh.com/blog/chez-fr…

#lisp #scheme #chez #clojure

get-aksh.comChez from a Clojurian perspective — Aksh
@raganwald.functional.cafe.ap.brid.gyNov 29, 2026, 12:29 AM

Two test cases showing the "resolveAll" function. In the first case, the entire standard library is given as the base, and thus the fixpoint combinator resolves to a construction with a lark' (l'), a mockingbird (m), and a bluebird (b).

In the second example […]

[Original post on functional.cafe]

  expect(render([ fixpoint ], resolveAll(
    standard, // everything can be a base combinator
  ))).toEqual(`[l'] [m] b`);

  expect(render([ fixpoint ], resolveAll(
    iDipConsDupZap, // base combinators
    standard        // combinators to be constructed
  ))).toEqual('[[[[[dup i] cons] dip i]] cons cons cons i i] cons dup i');
@raganwald.functional.cafe.ap.brid.gyNov 28, 2026, 8:48 PM

Hard to separate the programmer from the programming: I was writing about a book that got me started with algebraic types, and I called it "The Little MLKer."

Oops.

annas-archive.gd/md5/54bb7e13…

@raganwald.functional.cafe.ap.brid.gyNov 27, 2026, 5:14 PM

@jerasikehorn.bsky.social “I like people who explain things in a way I can understand.”

—Ralph Wiggum

@raganwald.functional.cafe.ap.brid.gyNov 27, 2026, 3:01 PM

This building is 125 years old. It still serves as a primary school, educating generations of Scots. It has outlived its architect by over 90 years and will certainly outlive him by a century. ——— Meanwhile... “Is it possible that software is not like anything else, that it is meant to be […]

functional.cafeOriginal post on functional.cafe
@raganwald.functional.cafe.ap.brid.gyNov 27, 2026, 2:51 PM

When I worked at GitHub, I shipped a feature another term had built. We had the equivalent of a "dogfood" feature flag, and the feature had been in use for over a year internally. I was shipping it because everyone thought it was live and somebody finally noticed "No, it's not in GA." The […]

functional.cafeOriginal post on functional.cafe
@raganwald.functional.cafe.ap.brid.gyNov 26, 2026, 10:14 PM

@svw I'm working on a Turing Tarpit language. If nobody's going to look at it, why shouldn't it be extremely weird? Yes, it's unreadable. But consider the tradeoff: It's also slow!

@raganwald.functional.cafe.ap.brid.gyNov 22, 2026, 7:03 PM

@freefran.bsky.social “That was unkind. Not *unfair*, but unkind.”—Charleton Heston

@raganwald.functional.cafe.ap.brid.gyNov 22, 2026, 3:58 PM

People may think that my favourite JavaScript feature is functions as first-class values, and they are not wrong. But if sarcasm is present, my favourite feature is probably that I can write code with circular dependencies.

But no, I do not get errors […]

[Original post on functional.cafe]

@raganwald.functional.cafe.ap.brid.gyNov 21, 2026, 3:31 PM

WIP on this #concatenativelanguage idea. Here we define `cons`.

1. Quoted placeholders that match what must be to the left of `cons`;

2. A proper (closed over the placeholders only) definition of how to rewrite the matching quoted placeholders if `cons` is […]

[Original post on functional.cafe]

// [B] [A] cons == [[B] A]
export const cons = define('cons', [ [B], [A] ], [ [[B], A] ],
  [ [], coup, sap ],
  [ [[], k], [], sPrime ],
  [ cake, [], k ]
);
@raganwald.functional.cafe.ap.brid.gyNov 17, 2026, 4:55 PM

Combinatorial logic has the concept of a "base," a small set of atomic combinators that are assumed to exist. Then, one builds all the other combinators from the given base. This shows that the base is universal, because anything written with all the other combinators can be written with just […]

functional.cafeOriginal post on functional.cafe
@raganwald.functional.cafe.ap.brid.gyNov 15, 2026, 5:02 PM

A "proper" combinator is a kind of function that only rearranges its argument(s). It can duplicate arguments, delete arguments, and/or change the structure of quotations, but it cannot introduce any new combinators that were not already quoted arguments.

@raganwald.functional.cafe.ap.brid.gyNov 15, 2026, 4:58 PM

“Run!”—Dr. Alan Grant, Jurassic Park (1993)

#concatenativelanguage

import { A } from "../tooling/placeholders.common";
import { proper } from "../tooling/proper";

export const run = proper([ [A] ], [ A, [A] ], 'run');
@raganwald.functional.cafe.ap.brid.gyNov 15, 2026, 4:31 PM

I was today years old when I learned that the #concatenativelanguage wiki https://concatenative.org:

“Was built with the #Factor web framework, Furnace. The HTTP server is written entirely in Factor and supports HTTPS via the OpenSSL binding. Wiki pages are written using the Farkup markup […]

functional.cafeOriginal post on functional.cafe
@raganwald.functional.cafe.ap.brid.gyNov 14, 2026, 6:09 PM

First non-trivial end-to-end interpretation.

1. We want 9 ÷ 3.
2. The setup starts with a zero.
3. This quotation/program performs division-by-repeated subtraction.
4.`fixpoint` is an implementation of the Y combinator in a call-by-value language. This is […]

[Original post on functional.cafe]

A screen shot of this code, annotated with numeric callouts denoted as __1__through __6__

test("interpret euclidean-division", () => {
  expect(interpret(`
    [9] [3] __1__

    [0] bury2 __2__

    [                                   
      bury3 __3__                            
      peek peek                        
      isLessThan                        
      [                                  
        [[subtrahend] cons cons] sip 
        [[succ] cons] dip2            
        dig3                            
        i __5__
      ]
      [                                  
        zap                             
        [zap] dip2                      
      ]   
      cond                               
    ]   
    fixpoint __4__

    [0] isEqualTo __6__
    swap [3] isEqualTo
    and
  `, standard, symbology)).toEqual('[T]');
});
@raganwald.functional.cafe.ap.brid.gyNov 12, 2026, 6:59 PM

Writing "the shittiest parser good enough to criticize." And all those interviews from the hand-coded era where we'd be asked to determine whether a string had balanced parentheses?

That hard work pays off NOW.

https://raganwald.com/2019/02/14/i-love-programming-and-programmers.html

raganwald.comA Brutal Look at Balanced Parentheses, Computing Machines, and Pushdown Automata
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST