cnc-pattern-lib-0.1.0.0: Haskell library for creating SVG patterns for CNC routers

Safe HaskellNone
LanguageHaskell2010

Scenes.Registry

Description

A module for handling registration of scenes so they can be rendered by the CLI executable.

Synopsis

Documentation

getSceneOrExit :: String -> IO Scene Source #

Return the named scene or exit the program with an error if it doesn't exist.

scenes :: Map String (IO Scene) Source #

Register scenes and their CLI lable here.

scenesLabel :: String Source #

Comma-separated list of all scene labels registered in thei module.