starter-snake-haskell-1.0.0: A Haskell Battlesnake starter
Safe HaskellSafe-Inferred
LanguageHaskell2010

Battlesnake.Core.Ruleset

Synopsis

Documentation

data Ruleset Source #

Information about the ruleset used in the game. See: https://docs.battlesnake.com/api/objects/game

Constructors

Ruleset 

Fields

Instances

Instances details
FromJSON Ruleset Source # 
Instance details

Defined in Battlesnake.Core.Ruleset

Generic Ruleset Source # 
Instance details

Defined in Battlesnake.Core.Ruleset

Associated Types

type Rep Ruleset :: Type -> Type #

Methods

from :: Ruleset -> Rep Ruleset x #

to :: Rep Ruleset x -> Ruleset #

Show Ruleset Source # 
Instance details

Defined in Battlesnake.Core.Ruleset

Eq Ruleset Source # 
Instance details

Defined in Battlesnake.Core.Ruleset

Methods

(==) :: Ruleset -> Ruleset -> Bool #

(/=) :: Ruleset -> Ruleset -> Bool #

type Rep Ruleset Source # 
Instance details

Defined in Battlesnake.Core.Ruleset

type Rep Ruleset = D1 ('MetaData "Ruleset" "Battlesnake.Core.Ruleset" "starter-snake-haskell-1.0.0-8lStfSlItQd2VBGXWcsnkm" 'False) (C1 ('MetaCons "Ruleset" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))