screwtape on Nostr: npub1jw4gj…f99y9 I see your haskell and raise you the common lisp loop facility ...
npub1jw4gjyjd8fqhduqfw23k8yne7fgr60wyulg8wnq02ef47d0fthmq8f99y9 (npub1jw4…99y9) I see your haskell and raise you the common lisp loop facility
(loop for n from 1 to 100
for fizzes = (loop for x below 100 by 3 collect x)
then (or (member n fizzes) fizzes)
for buzzes = (loop for x below 100 by 5 collect x)
then (or (member n buzzes) buzzes)
for fizzp = (equal n (car fizzes))
for buzzp = (equal n (car buzzes))
when fizzp do (princ 'fizz)
when buzzp do (princ 'buzz)
do (terpri))
;; OK OK HEAR ME OUT
;; come on
Published at
2023-11-09 04:07:17Event JSON
{
"id": "81730548101172e5175fadf620a3b245036262c31c3ab135f94caa09bc3d1082",
"pubkey": "9e9c58006890e3e31e306e20518f236965f1d8ee97640175d74afb88769a7c4d",
"created_at": 1699502837,
"kind": 1,
"tags": [
[
"p",
"93aa89124d3a4176f00972a3639279f2503d3dc4e7d0774c0f56535f35e95df6",
"wss://relay.mostr.pub"
],
[
"p",
"062061d3fbb03f79dda371adc7059662efdd797bf89607edf7967f969ff8084b",
"wss://relay.mostr.pub"
],
[
"e",
"417fb3fcf1ad60eb4e5f893267a4c404f87be00fc40c89cfe1ac54be695a7383",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.sdf.org/users/screwtape/statuses/111378617927386424",
"activitypub"
]
],
"content": "nostr:npub1jw4gjyjd8fqhduqfw23k8yne7fgr60wyulg8wnq02ef47d0fthmq8f99y9 I see your haskell and raise you the common lisp loop facility\n(loop for n from 1 to 100\n for fizzes = (loop for x below 100 by 3 collect x)\n then (or (member n fizzes) fizzes)\n for buzzes = (loop for x below 100 by 5 collect x)\n then (or (member n buzzes) buzzes)\n for fizzp = (equal n (car fizzes))\n for buzzp = (equal n (car buzzes))\n when fizzp do (princ 'fizz)\n when buzzp do (princ 'buzz)\n do (terpri))\n\n;; OK OK HEAR ME OUT\n\n;; come on",
"sig": "33d4fea0f009573d8b3657f1b3693ca3511250b85c9ae51bb4b48eed85c11f0d41917ee4897b4754953125e9bd8b72d0fd5586c03f2ca07ef558f85bafab9748"
}