Distracted boyfriend meme except I'm the boyfriend, the girlfriend is legible code, and the other girl is pointfree style

A lambda in my foldr? Over my dead body *recklessly composes far too many functions*

drake nahh face: foldr (\(to, from) d' -> if pathToFrom d to from then adjust (S.delete to) node d' else d') d cartProdChildren

drake yehh face: foldr (flip adjust node . S.delete) d . fst . unzip . filter (uncurry $ pathToFrom d) $ cartProdChildren

compromise: foldr (\(to, from) -> adjust (S.delete to) node) d . filter (uncurry $ pathToFrom d) $ cartProdChildren

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway

jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal