creatur-5.9.25: Framework for artificial life experiments.

Copyright(c) Amy de Buitléir 2012-2018
LicenseBSD-style
Maintaineramy@nualeargais.ie
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ALife.Creatur.Namer

Description

Assigns a unique ID upon request. IDs generated by an Namer are guaranteed to be unique within a given universe, across all simulation runs.

Documentation

class Namer n where Source #

Minimal complete definition

genName

Methods

genName :: StateT n IO String Source #

Assign a unique ID using the supplied prefix.

Instances
Namer SimpleNamer Source # 
Instance details

Defined in ALife.Creatur.Namer