Require Belt in rtop


I have a module where I open Belt;. When I #use the file in rtop, I get Error: Unbound module Belt. If I # require Belt in rtop, I get No such package: Belt. How do I use libraries like Belt in rtop?


rtop only works with native target so currently, you can’t use Bucklescript inside it


Got it. Thanks.


I’m also having trouble using Belt in the “Try ReasonML” environment:

"The variant constructor Result.Ok can’t be found."
Am I missing something?