đŸ Archived View for gemini.omarpolo.com âș post âș love-for-cadr.gmi captured on 2024-05-10 at 11:05:06. Gemini links have been rewritten to link to archived content
âŹ ïž Previous capture (2023-01-29)
-=-=-=-=-=-=-
caaddaaddaaddaddaaâŠ
Published: 2020-11-15
Tagged with:
I had this piece of data
(("12345" (("Content-Disposition" "form-data" (("name" . "code"))))))
and I wanted to extract the cons with ânameâ and âcodeâ. Armed with my âaâs and âdâs I wrote (interactively, one letter at a time)
(caaddr (caadar thing))
then I though âtwo function call is too muchâ
(caaddaadar thing)
but âcaaddaadarâ doesnât exists.
Life sucks even more now.
---
P.S.: yeah, I was trying to extract data from the output of rfc2388:parse-mime.
P.P.S.: yeah, I was trying to extract the wrong thing: âcodeâ is the input name and â12345â is the value.
P.P.P.S.: yup, eventually I replaced that with trivia (pattern matching.)
-- text: CC0 1.0; code: public domain (unless specified otherwise). No copyright here.