Replies: 1 comment
-
Additionally: If it helps, this is the error I get when closing up: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have an OCaml script called
node.ml
that contains some functionality I would like to use in my script example_node.ml. To import the functionality fromnode.ml
, I tried using the# use ...
directive inexample_node.ml
, like this:# use "node.ml";;
The program compiles successfully, but VS Code underlines the # use directive in red, indicating a syntax error.
I'm a beginner in OCaml and functional programming, so is this even the correct way of importing
node.ml
file or is there a better way to do it? Or is it a problem on ocaml platform side?Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions