Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add built in codec for refs? #79

Open
em opened this issue Jan 17, 2022 · 0 comments
Open

Add built in codec for refs? #79

em opened this issue Jan 17, 2022 · 0 comments

Comments

@em
Copy link

em commented Jan 17, 2022

Is this doable? Encode .contents and decode with initial .contents

I get

  We've found a bug for you!
  /Users/em/projects/prefetcher/src/Process.res

  The value ref_encode can't be found

with a record type like this

@decco
type status = {
 counter: ref<int>,
}

P.S. @ryb73 please don't leave rescript! Come work with us at maker.co instead. : ) Decco has been a life safer!

@em em changed the title Add default codec for refs? Add built in codec for refs? Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant