This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1

Random.Order

List of Order Generators

Generators

order : Generator Order

Generate a random order with equal probability.

module Random.Order exposing (..)

{-| List of Order Generators

# Generators
@docs order
-}

import Random exposing (Generator)
import Random.Extra exposing (selectWithDefault)


{-| Generate a random order with equal probability.
-}
order : Generator Order
order =
    selectWithDefault EQ
        [ LT
        , EQ
        , GT
        ]