HGamer3D-Data-0.4.0: Game Engine for the Haskell Programmer - Data Definitions and Utilities

Safe HaskellSafe-Inferred

HGamer3D.Util.UniqueName

Description

Utility to provide a unique name, carries internal state in a IORef

Synopsis

Documentation

createUniqueName :: String -> IO UniqueNameSource

creates a unique name holder

nextUniqueName :: UniqueName -> IO StringSource

delivers the next unique name from the name holder