Skip to content

MichaelXavier/purescript-refs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module Documentation

Module Control.Monad.Eff.Ref

Types

data Ref :: !

data RefVal :: * -> *

Values

modifyRef :: forall s r. RefVal s -> (s -> s) -> Eff (ref :: Ref | r) Unit

newRef :: forall s r. s -> Eff (ref :: Ref | r) (RefVal s)

readRef :: forall s r. RefVal s -> Eff (ref :: Ref | r) s

writeRef :: forall s r. RefVal s -> s -> Eff (ref :: Ref | r) Unit

Module Control.Monad.Eff.Ref.Unsafe

Values

unsafeRunRef :: forall eff a. Eff (ref :: Ref | eff) a -> Eff eff a

About

Mutable value references

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

  • PureScript 67.2%
  • JavaScript 32.8%