creatur-5.9.1: Framework for artificial life experiments.

Copyright(c) Amy de Buitléir 2012-2015
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

Methods

genName :: StateT n IO String Source

Assign a unique ID using the supplied prefix.

Instances