creatur-5.9.19: Framework for artificial life experiments.

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

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.