This library is a prototype implementation for my top-level mutable state proposal.
It introduces Singleton
s, 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.
-
Notifications
You must be signed in to change notification settings - Fork 0
License
CircuitCraft42/singleton
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published