Hi guys !
I’m trying to resolve the “Temperatures” problem and I’d like to split the given string into a list, using the SPACE delimiter. So in Ocaml, I was thinking of something like that:
let l = Str.split (Str.regexp " ") temps
But when compiling that, I get the following error:
File “/tmp/Answer.ml”, line 1:
Error: Error while linking /tmp/Answer.cmo:
Reference to undefined global `Str’
Obviously, I can’t write ‘Open Str’ at the beginning neither. Does this means I can’t use the Str library ?
Thanks for reading