Open DaQuirm opened 4 years ago
Write a type for binary trees based on Scott encoding from #14
Derive Show and Eq instances.
Show
Eq
Write the length function (empty trees are zero-length).
length
Write a type for binary trees based on Scott encoding from #14
Derive
Show
andEq
instances.Write the
length
function (empty trees are zero-length).