Skip to content

id3as/purescript-erl-nativerefs

Repository files navigation

purescript-erl-nativeref

A process-less implementation of Effect.Ref using nifs.

Using

To use this package you will need to:

With a fair wind, your Purescript will just work with


import NativeRef as Ref

cool :: Effect Unit
cool = do
  ref <- Ref.new 0
  x <- Read.read -- 0
  Read.write 1 ref
  x2 <- Read.read -- 1

And so on.

Building/Contributing

In theory, you should be able to clone this repo and run rebar3 eunit, and everything will be pulled down and the tests will run. Good luck.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •