All string literals (which we already had) are now automatically promoted to str, which allows us to write things like: "hello world".starts_with("hello")
Opportunistically, we add the help function to the standard library which allows us to look up basic information about variables in Lox:
All string literals (which we already had) are now automatically promoted to
str
, which allows us to write things like:"hello world".starts_with("hello")
Opportunistically, we add the
help
function to the standard library which allows us to look up basic information about variables in Lox: