Olav Fosse on Nostr: I wish the coll-last arities of seqfn was just short form for (into (empty coll) ...
I wish the coll-last arities of seqfn was just short form for (into (empty coll) (apply seqfn (butlast args)) (last args)). Would've saved me some frustration when learning Clojure. Maybe one day I'll make my perfect language where everything is perfect.
Published at
2024-08-10 22:06:59Event JSON
{
"id": "53194afed5ebc218c4364629e817b969a7d1f28f2836dd150f71b9c19e92c3d2",
"pubkey": "32b0082450d2269ff042a9caa54d5137459e6ef0ef2c07a9858d5b65348d7779",
"created_at": 1723327619,
"kind": 1,
"tags": [
[
"e",
"8efc815b394668e6ac602d39c7fd9480cc14f1d35832b1eea1e190722c606abe",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://emacs.ch/users/olav/statuses/112939998859446666",
"activitypub"
]
],
"content": "I wish the coll-last arities of seqfn was just short form for (into (empty coll) (apply seqfn (butlast args)) (last args)). Would've saved me some frustration when learning Clojure. Maybe one day I'll make my perfect language where everything is perfect.",
"sig": "e70f914eb41f47a4e15e683c7b077787190de0b411d2398f774bcf842d8c9784b27023bfc6d5a3de45ecff88e63ad846ee9fb55bca0dbbca468ec7336de9c85e"
}