Skip to content

Instantly share code, notes, and snippets.

@schell
Created May 16, 2015 00:37
Show Gist options
  • Save schell/099c2960eccb7227c9ff to your computer and use it in GitHub Desktop.
Save schell/099c2960eccb7227c9ff to your computer and use it in GitHub Desktop.
One small reason I love working in Haskell - great community

While compiling conduit-extras ghc warns me that

Data/Conduit/Binary.hs:376:27: Warning:
    In the use of ‘S.breakByte’ (imported from Data.ByteString):
    Deprecated: "It is an internal function and should never have been exported. Use 'break (== x)' instead. (There are rewrite rules that handle this special case of 'break'.)"

Data/Conduit/Binary.hs:425:28: Warning:
    In the use of ‘inlinePerformIO’
    (imported from Data.ByteString.Internal):
    Deprecated: "If you think you know what you are doing, use 'unsafePerformIO'. If you are sure you know what you are doing, use 'unsafeDupablePerformIO'. If you enjoy sharing an address space with a malevolent agent of chaos, try 'accursedUnutterablePerformIO'."

Oh accursedUnutterablePerformIO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment