HGamer3D-Common-0.5.0: Toolset for the Haskell Game Programmer - Game Engine and Utilities

Safe HaskellSafe-Inferred
LanguageHaskell98

HGamer3D.Common.UniqueName

Description

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

Synopsis

Documentation

createUniqueName :: String -> IO UniqueName Source

creates a unique name holder

nextUniqueName :: UniqueName -> IO String Source

delivers the next unique name from the name holder