[Question][Hw6] Problem of module String in campaign.ml #724
Replies: 1 comment
-
If you are working on the KCLOUD VM, you don't need to change the opam switch. Check your source code and the standard |
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.
-
Name: Jaewoo Ahn
When I am using String module in src/campaign.ml like String.length or String.filter, it outputs an error as
module String doesn't have any problems in skeleton codes like fuzzer.ml and coverage.ml.
student@cs348-79:~/cs348-2023-spring-hw6-s20200366/test$ opam switch
# switch compiler description
default ocaml.4.08.1 default
→ prosyslab-classroom-4.13.1 ocaml-option-flambda.1,ocaml-variants.4.13.1+options prosyslab-classroom-4.13.1
student@cs348-79:~/cs348-2023-spring-hw6-s20200366$ ls ~/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__String*
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__String.cmi
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__String.cmt
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__String.cmti
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__String.cmx
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__StringLabels.cmi
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__StringLabels.cmt
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__StringLabels.cmti
/home/student/.opam/prosyslab-classroom-4.13.1/lib/ocaml/stdlib__StringLabels.cmx
`
I did like above after looking at https://discuss.ocaml.org/t/the-module-bytes-is-an-alias-for-module-stdlib-bytes-which-is-missing-error-in-ocaml-4-14/11821
but all my files seem to be in place.
What should I do to solve this problem?
I am using the ssh remote server via vscode.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions