agda2scheme
agda2scheme copied to clipboard
Don't store constructor tag for records and single-constructor datatypes
Currently constructors always store a tag, even when there is only a single option.
As a stretch goal, we could even skip the constructor tag if there are several constructors, as long as there is only a single constructor of each given arity. We can then just determine which constructor we have by looking at the length of the argument list.