David Wong
David Wong
Also. If I want to copy/clone a var, it should be easy. Perhaps let x = y is enough. Create the number of necessary internal var and wire them? Do...
Ok proposition: dont allow mutation of arguments of functions in general. Like that if someone tried they get an error. Easy
It also sounds like let x = y should already work, as we would reassign vars on x and not y if we try to mutate x!
Everything is actually copy on write!
If var is mutable, pass by pointer, otherwise pass by cvar A var is in noname A cvar is internal A fvar is a field ellement or cellvar
Call it reference not pointer. Or even better "mutable reference"
maybe use player: https://www.npmjs.org/package/player
I don't really mind you decide not to support this, but at least it'd be nice to support external links somewhere else in the page :o
Also `deps` should include any `*.toml` file and `Cargo.lock` files as well https://github.com/zshipko/ocaml-rust-starter/blob/master/src/dune#L3
Interestingly, things work on my mac without the "cdylib" here: https://github.com/zshipko/ocaml-rust-starter/blob/master/Cargo.toml#L8 but don't work with it