| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Battlesnake.API.InfoResponse
Synopsis
- data APIVersion = APIVersion1
- data InfoResponse = InfoResponse {}
Documentation
data APIVersion Source #
Supported versions of the Battlesnake API
Constructors
| APIVersion1 |
Instances
| ToJSON APIVersion Source # | |
Defined in Battlesnake.API.InfoResponse Methods toJSON :: APIVersion -> Value # toEncoding :: APIVersion -> Encoding # toJSONList :: [APIVersion] -> Value # toEncodingList :: [APIVersion] -> Encoding # | |
| Show APIVersion Source # | |
Defined in Battlesnake.API.InfoResponse Methods showsPrec :: Int -> APIVersion -> ShowS # show :: APIVersion -> String # showList :: [APIVersion] -> ShowS # | |
data InfoResponse Source #
The response to an info request. This can be used to modify the appearance of your snake on the game board.
Constructors
| InfoResponse | |
Fields
| |