RosettaCodeData/Task/Parametric-polymorphism/Ursala/parametric-polymorphism-6.u...

8 lines
130 B
Plaintext

string_tree = binary_tree_of %s
x = 'foo': ('bar': (),'baz': ())
#cast string_tree
example = (binary_tree_map "s". "s"--"s") x