Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
jsaddle Language.Javascript.JSaddle.Types Wrapper used when sending a Object to the JavaScript context
JSObjectForSend :: JSValueForSend -> JSObjectForSendjsaddle Language.Javascript.JSaddle.Types No documentation available.
-
jsaddle Language.Javascript.JSaddle.Types Wrapper used when sending a JString to the JavaScript context
JSStringForSend :: Text -> JSStringForSendjsaddle Language.Javascript.JSaddle.Types No documentation available.
-
jsaddle Language.Javascript.JSaddle.Types Wrapper used when sending a JSVal to the JavaScript context
JSValueForSend :: JSValueRef -> JSValueForSendjsaddle Language.Javascript.JSaddle.Types No documentation available.
-
mwc-probability System.Random.MWC.Probability The class of types for which a uniformly distributed value can be drawn from all possible values of the type.
-
mwc-probability System.Random.MWC.Probability The class of types for which a uniformly distributed value can be drawn from a range.
discreteUniform :: forall (m :: Type -> Type) f a . (PrimMonad m, Foldable f) => f a -> Prob m amwc-probability System.Random.MWC.Probability The discrete uniform distribution.
>>> sample (discreteUniform [0..10]) gen 6 >>> sample (discreteUniform "abcdefghijklmnopqrstuvwxyz") gen 'a'
uniform :: forall (m :: Type -> Type) a . (PrimMonad m, Variate a) => Prob m amwc-probability System.Random.MWC.Probability The uniform distribution at a specified type. Note that Double and Float variates are defined over the unit interval.
>>> sample uniform gen :: IO Double 0.29308497534914946 >>> sample uniform gen :: IO Bool False