You 're right. I forgot to add a type fruits = Js.Json.t;definition somewhere above, fixed it now. I updated the post section with some ReasonML Try examples, so that one easily can verify it for themselves.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
throws:
Error: Unbound type constructor fruits
.Works if you add
type fruits = Js.Json.t;
to file but not sure if this is what you were going for.You 're right. I forgot to add a
type fruits = Js.Json.t;
definition somewhere above, fixed it now. I updated the post section with some ReasonML Try examples, so that one easily can verify it for themselves.