tranny demon hacker on Nostr: but at the same time, I think that if I wanted to implemented this in, say, Haskell, ...
but at the same time, I think that if I wanted to implemented this in, say, Haskell, it would actually be rather annoying to do
not impossible at all, don't get me wrong; here it is:
rule1 s = if not (empty s) && last s == 'I' then Just (s ++ "U") else Nothing
Published at
2024-11-01 20:07:00Event JSON
{
"id": "d01706a104e3fbfe07c78ea0d1c641a6bdd14c4d31984445c3dc80b62b273bcf",
"pubkey": "6e5b64a93f9c17d6528911485e399c8be0361c502e3c736e8118f8e00d950d0c",
"created_at": 1730491620,
"kind": 1,
"tags": [
[
"e",
"a3a7d0894c9e441b44b674568aba99c5aa2ec780a3322b24b12431a3a0da3d1f",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://kolektiva.social/users/beka_valentine/statuses/113409498836427547",
"activitypub"
]
],
"content": "but at the same time, I think that if I wanted to implemented this in, say, Haskell, it would actually be rather annoying to do\n\nnot impossible at all, don't get me wrong; here it is:\n\nrule1 s = if not (empty s) \u0026\u0026 last s == 'I' then Just (s ++ \"U\") else Nothing",
"sig": "84f1b4ca59a8159fec09daee76886a79072405a28b397efb913d3e7112508fa4792dd9bab8cf658b4dddd96c30530899b8ba28a2896414e0e845ee446c21252e"
}