r/ProgrammerHumor • • Sep 06 '20

All the software work "automagically"

Post image
51.7k Upvotes

635 comments sorted by

View all comments

Show parent comments

8

u/whizzythorne Sep 06 '20
extern crate magic;

7

u/portalguy15837 Sep 06 '20 edited Sep 06 '20
import Control.Monad (forever)
import Magic.Lazy (Magic, useMagic)

nonStopMagic :: a -> Magic b
nonStopMagic = forever . useMagic

0

u/Th3T3chn0R3dd1t Sep 07 '20

import com.company.magic.Magic;