creatur-5.9.30: Framework for artificial life experiments.
Copyright(c) 2012-2021 Amy de Buitléir
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 #

Methods

genName :: StateT n IO String Source #

Assign a unique ID using the supplied prefix.

Instances

Instances details
Namer SimpleNamer Source # 
Instance details

Defined in ALife.Creatur.Namer

data SimpleNamer Source #

Instances

Instances details
Eq SimpleNamer Source # 
Instance details

Defined in ALife.Creatur.Namer

Show SimpleNamer Source # 
Instance details

Defined in ALife.Creatur.Namer

Namer SimpleNamer Source # 
Instance details

Defined in ALife.Creatur.Namer