package elm_playground_gamekits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module CardsSource

Sourcetype suit =
  1. | Clubs
  2. | Diamonds
  3. | Hearts
  4. | Spades
Sourcetype card = {
  1. rank : int;
  2. suit : suit;
}
Sourceval red : card -> bool
Sourceval of_index : int -> card
Sourceval name : card -> string
Sourceval deck : card list
Sourceval deal : int -> card list
Sourceval width : Playground.number
Sourceval height : Playground.number
Sourceval fanned : Playground.number
Sourceval stacked : Playground.number
Sourceval face : card -> Playground.shape
Sourceval back : Playground.shape
Sourceval slot : Playground.shape
Sourceval suit_shape : ?color:Playground.color -> suit -> Playground.number -> Playground.shape
Sourceval under : (Playground.number * Playground.number) -> (Playground.number * Playground.number) -> bool