5 ms·
Echoes of Haskell's `accursedUnutterablePerformIO` https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/src/Data-ByteString-Internal.html#accursedUnutte
by mbo 3y ago
Echoes of Haskell's `accursedUnutterablePerformIO` https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/src/Data-ByteString-Internal.html#accursedUnutterablePerformIO https://hackage.haskell.org/package/bytestring-0.10.8.1/docs... :
This \"function\" has a superficial similarity to 'unsafePerformIO' but
it is in fact a malevolent agent of chaos. It unpicks the seams of reality
(and the 'IO' monad) so that the normal rules no longer apply. It lulls you
into thinking it is reasonable, but when you are not looking it stabs you
in the back and aliases all of your mutable buffers. The carcass of many a
seasoned Haskell programmer lie strewn at its feet.
Do not talk about \"safe\"! You do not know what is safe!
Yield not to its blasphemous call! Flee traveller! Flee or you will be
corrupted and devoured!
- keepamovin 3y agoThank you I like when art and poetry mixes with programming