The very first DSSL2 code example in the docs (root insertion in a BST) refers to a number of undefined functions (e.g., empty?, new_node, fix_size).
So it's not actually a working example that someone could just copy and run.
That's not great for the first example someone sees...
Especially confusing is the use of empty?, which looks like a function that could plausibly be provided by the language. I just had a student assume (possibly based on that example) that DSSL2 provided an empty? function, which it does not.
The very first DSSL2 code example in the docs (root insertion in a BST) refers to a number of undefined functions (e.g.,
empty?
,new_node
,fix_size
). So it's not actually a working example that someone could just copy and run. That's not great for the first example someone sees...Especially confusing is the use of
empty?
, which looks like a function that could plausibly be provided by the language. I just had a student assume (possibly based on that example) that DSSL2 provided anempty?
function, which it does not.