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?
Require Belt in rtop
borisd
#1
thangngoc89
#2
rtop only works with native target so currently, you can’t use Bucklescript inside it
borisd
#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?