I want to define a larger record using a composition of smaller records to make the ad more readable.
I am trying to do something like this:
-record (molly, {xx = 0, yy = 1}).
-record (harry, {#molly, zz = 2}.
The above, of course, does not compile: - (
Is there any way to do this?
rwe
source
share