2 ms·
IMO, "magic" is for when things are special-cased somewhere nonlocal. For example, the $ function in Haskell is magic because it always supports impredicative t
by josephcsible 5y ago
IMO, "magic" is for when things are special-cased somewhere nonlocal. For example, the $ function in Haskell is magic because it always supports impredicative types, but if you define the exact same thing yourself, it won't. (Test case: "runST $ pure ()".)