James Conroy-Finn on Nostr: npub1f6mwk…0a7pe :regex isn’t a boolean, it’s a keyword, and keywords implement ...
npub1f6mwk9qpdlky06srtagyh6z4ypjq8cmjfu5xqk5ev29s0n8ms00qt0a7pe (npub1f6m…a7pe) :regex isn’t a boolean, it’s a keyword, and keywords implement IFn, so the predicate function argument seems spurious.
I can see the rule you’re defining but it’s not plainly obvious to me what the reason is.
By omitting the question make on keywords like :regex I’m now unsure if that’s a boolean or a real regular expression.
Aren’t we getting into Hungarian-notation territory here?
Published at
2024-02-05 14:11:28Event JSON
{
"id": "fd34a2fe32580bac93f86cb95ea4843ae1f6be3fa2d57a1fdeeff26773158aa3",
"pubkey": "9925a02ae370c22c39f8d55c7640a3147b9655e36446b4d45833d7b654ab478c",
"created_at": 1707142288,
"kind": 1,
"tags": [
[
"p",
"4eb6eb14016fec47ea035f504be855206403e3724f28605a99628b07ccfb83de",
"wss://relay.mostr.pub"
],
[
"p",
"c4ef83416f079257f5390f7d55a65e684d1b498d196e0e71bb8b90e21a820e07",
"wss://relay.mostr.pub"
],
[
"e",
"0a091ddcdb6abfe6b2c70d1e1b093ca300c9ff36a87e12f0728a041483d2ced1",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/jcf/statuses/111879277026615828",
"activitypub"
]
],
"content": "nostr:npub1f6mwk9qpdlky06srtagyh6z4ypjq8cmjfu5xqk5ev29s0n8ms00qt0a7pe :regex isn’t a boolean, it’s a keyword, and keywords implement IFn, so the predicate function argument seems spurious.\n\nI can see the rule you’re defining but it’s not plainly obvious to me what the reason is.\n\nBy omitting the question make on keywords like :regex I’m now unsure if that’s a boolean or a real regular expression.\n\nAren’t we getting into Hungarian-notation territory here?",
"sig": "6d59996008634096e153af8ff3b34d44c89f317012dda673831e5e828e8bfb52c7768a4671b5d2a10b28de5ffe45f0c552ea7394402b04d7689827bd1a087207"
}