| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Swarm.Language.Syntax.CommandMetadata
Description
Command metadata for documentation
Documentation
data SensingType Source #
Constructors
| RobotSensing | |
| EntitySensing | |
| WorldCondition |
Instances
Constructors
| Sensing SensingType | empirical knowledge |
| PRNG | The random number generator |
| APriori | a priori knowledge |
Instances
| ToJSON QueryType Source # | |
| Generic QueryType Source # | |
| Show QueryType Source # | |
| Eq QueryType Source # | |
| Ord QueryType Source # | |
Defined in Swarm.Language.Syntax.CommandMetadata | |
| type Rep QueryType Source # | |
Defined in Swarm.Language.Syntax.CommandMetadata type Rep QueryType = D1 ('MetaData "QueryType" "Swarm.Language.Syntax.CommandMetadata" "swarm-0.6.0.0-ERx1HMcRMba59aI2b6aNrS-swarm-lang" 'False) (C1 ('MetaCons "Sensing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SensingType)) :+: (C1 ('MetaCons "PRNG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "APriori" 'PrefixI 'False) (U1 :: Type -> Type))) | |
data RobotChangeType Source #
Constructors
| PositionChange | |
| InventoryChange | |
| ExistenceChange | |
| BehaviorChange |
Instances
data MutationType Source #
Constructors
| Cosmetic | |
| LogEmission | |
| EntityChange | |
| RobotChange RobotChangeType |
Instances
data CommandEffect Source #
Constructors
| Query QueryType | |
| MetaEffect | |
| Mutation MutationType |