Post #2735406
2026-05-09 21:30 UTC
@byorgey@mathstodon.xyz Maybe I've spent too much time with array languages, but I'd write this function as:
conjugatePartition p = foldr1 (zipWith (+)) [[fromEnum(k⌜⟜(↕⊑)
J: +/@(>/ i.@{.)
k: {+/x>\:!*x}
Replies (1)
-
@oantolin@mathstodon.xyz 2026-05-09 21:49
@byorgey@mathstodon.xyz I used to think Haskell was concise...