wiki:MinorLibraryChanges

Version 5 (modified by john@…, 8 years ago) (diff)

--

This should be a list of minor (mostly) backwards compatable changes to the standard libraries. Proposed new libraries should go on NewLibraryCandidates

  • signatures of when and unless generalized
  • move 'join' and 'ap' into the Monad class
  • remove exports of functions from libraries that are also exported by the prelude (to make overriding prelude functions easier)

new simple functions

replicateM, replicateM_, repeatM, repeatM_

readM :: (Read a, Monad m) => String -> m a

the generalization of readIO. readIO can be deprecated if wished if this is included.