Require Belt in rtop


#1

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?


#2

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


#3

Got it. Thanks.


#4

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?