Skip to content

CircuitCraft42/singleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Singleton for Haskell

This library is a prototype implementation for my top-level mutable state proposal. It introduces Singletons, which are types that have a single canonical value that persists for the lifetype of the program. My declaring a newtype that wraps an IORef or MVar, you get a unique mutable cell which works perfectly for top-level mutable state.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published