Module

Effect.Shuffle

Package
purescript-shuffle
Repository
joellefkowitz/shuffle

#shuffle Source

shuffle :: forall a. Array a -> Effect (Array a)

#pickOr Source

pickOr :: forall a. a -> Array a -> Effect a

#pickMaybeImpl Source

pickMaybeImpl :: forall a. (forall x. x -> Maybe x) -> (forall x. Maybe x) -> Array a -> Effect (Maybe a)

#pickNonEmpty Source

pickNonEmpty :: forall a. NonEmptyArray a -> Effect a

#pick Source

pick :: forall a. Monoid a => Array a -> Effect a

#pickMaybe Source

pickMaybe :: forall a. Array a -> Effect (Maybe a)