o1-labs / ocamlbyexample

Learn Ocaml by reading code examples
https://o1-labs.github.io/ocamlbyexample/
68 stars 4 forks source link

string vs bytes #8

Open mimoo opened 2 years ago

mimoo commented 2 years ago

emphasize the fact that these terms are misleading, and that one should think about them as:

mimoo commented 2 years ago

confirmed here https://stackoverflow.com/questions/71453556/should-i-use-bytes-or-string-in-ocaml?noredirect=1#comment126295401_71453556