Up to [cvs.NetBSD.org] / pkgsrc / devel / hs-MonadRandom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
recursive revbump after patching lang/ghc910
Bump all Haskell packages after switching the default compiler.
Recursive revbump after changing the default Haskell compiler
Revbump all Haskell after updating lang/ghc96
Bump Haskell packages after updating lang/ghc94
revbump all the Haskell packages after modifying the runtime system of lang/ghc94
devel/hs-pretty-simple: Update to 4.1.2.0 4.1.2.0 * Fix a problem with the pHPrint function incorrectly outputting a trailing newline to stdout, instead of the handle you pass it. #118 * Add a web app where you can play around with pretty-simple in your browser. #116. This took a lot of hard work by @georgefst! 4.1.1.0 * Make the pretty-printed output with outputOptionsCompact enabled a little more compact. #110. Thanks @juhp! * Add a --compact / -C flag to the pretty-simple executable that enables outputOptionsCompact. #111. Thanks again @juhp! * Add pTraceWith and pTraceShowWith to Debug.Pretty.Simple. #104. Thanks @LeviButcher! 4.1.0.0 * Fix a regression which arose in 4.0, whereby excess spaces would be inserted for unusual strings like dates and IP addresses. #105 * Attach warnings to debugging functions, so that they're easy to find and remove. #103 * Some minor improvements to the CLI tool: - Add a --version/-v flag. #83 - Add a trailing newline. #87 - Install by default, without requiring a flag. #94
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
revbump after changing the default Haskell compiler
Bump packages that depends on GHC
*: Bump PKGREVISION for ghc-9.0.1
Update to MonadRandom-0.5.3 0.5.3 (8 April 2021) * StatefulGen instances for RandT * Addition of RandGen * Additioon of withRandGen and withRandGen_ 0.5.2 (24 June 2020) * Support for random-1.2. * Drop support for GHC 7.4, test with GHC 8.10. 0.5.1.2 (18 Jan 2020) * Better error message when total probability sum is negative in fromListMay, weightedMay, weighted
Remove dependency on devel/hs-mtl mtl is now a part of GHC. Also hs-fail is no longer required as of GHC 8.
Derp, I forgot to actually change the version
Update to MonadRandom-0.5.1.1 0.5.1.1 (21 May 2018) * Only depend on fail package when GHC < 8.0. 0.5.1 (9 February 2017) * Re-export System.Random from Control.Monad.Random.{Lazy,Strict} and hence also from Control.Monad.Random. * Hackage r1: allow transformers-compat-0.6.x. 0.5 (3 January 2017) * This release has quite a few small additions as well as a big module reorganization. However, thanks to module re-exports, most existing code using the library should continue to work with no changes; the major version bump reflects the large reorganization and my inability to 100% guarantee that existing user code will not break. * The biggest changes that may be of interest to users of the library include new lazy vs strict variants of the Rand monad; a new MonadInterleave class which is a big improvement over MonadSplit; new PrimMonad instances; and new random selection functions like weighted, weightedMay, uniformMay, etc.. See the list below for full details. * Although there was some discussion of generalizing MonadRandom to work for a wider range of underlying generators (see #26, #31, and comments on this blog post), I decided to punt on that for now. It seems rather complicated and there are already good alternatives so I decided to keep things simple for this release. I'm still open to proposals for generalizing future releases. Changes in 0.5 include: * Refactor to reflect structure of mtl and transformers libraries. * Add lazy and strict variants of RandT. * Add MonadRandom and MonadSplit instances for ListT. * Add (but do not export) unRandT field to RandT. * Add MonadCont, MonadError, MonadRWS, PrimMonad, and MonadFail instances for RandT. * Add evalRandTIO operation. * Move fromList and uniform operations to Control.Monad.Random.Class. * fromList now raises an error when the total weight of elements is zero. * Generalize the type of uniform to work over any Foldable. * Add new operations weighted, weightedMay, fromListMay, and uniformMay. weighted is like fromList but generalized to work over any Foldable. The May variants return a Maybe result instead of raising an error. * New MonadInterleave class for random monads which can interleave random generation using split. In some ways this is similar to MonadSplit but much more useful. * Improved documentation. 0.4.2.3 (21 April 2016) * Mark Control.Monad.Random as Trustworthy. 0.4.2.2 (18 January 2016) * Allow transformers-0.5. 0.4.2.1 (16 January 2016) * Allow transformers-compat-0.5. 0.4.2 (16 January 2016) * Add MonadPlus and Alternative instances for RandT. 0.4.1 (20 November 2015) * Remove unnecessary Monad m constraint from liftRandT and runRandT. This should again technically require a major version bump, but I'm not doing it this time in the interest of not being super annoying. If this breaks something for you, just yell, and I will deprecate this version and do a proper 0.5 release. 0.4 (12 May 2015) * Remove unnecessary RandomGen g constraints from liftRandT, liftRand, evalRandT, evalRand, runRandT, runRand. * A major version bump is required by the PVP since the types of all the above methods have changed, but this release is again very unlikely to break any client code. 0.3.0.2 (30 March 2015) * Add transformers-compat to allow building with newer mtl 0.3.0.1 (24 November 2014) * Improve documentation: ranges are exclusive at the upper bound
Bump PKGREVISION for hs-transformers-0.4.2.0
Import MonadRandom-0.3 as devel/hs-MonadRandom. Support for computations which consume random values.