this post was submitted on 14 May 2024
508 points (94.6% liked)

Programmer Humor

19551 readers
778 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] PoolloverNathan@programming.dev 9 points 6 months ago* (last edited 6 months ago)
-- |Removes the given object from its current parent, if any, and then adds it as a child of the other given object.
kidnap :: ChildBearing c p
       => p -- ^The kidnapper.
       -> c -- ^The child to kidnap.
       IO ()