While trying to compile the following expression :
String.blit (String.make tfs.len ' ') 0 tfs.txt 0 tfs.len;
the compiler complains with the following error :
Error: This expression has type string but an expression was expected of type bytes
and the variable 'tfs.txt' (of type string) is pointed at.
As suggested in some forum, I tried to set the variable OCAMLPARAM
to the value: safe_string=0,_
but with no result
I'm using OCaml 4.11.1 under Ubuntu 20.01.01 LTS
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…