úÎ&ö%$      !"#Safe      SafeConvert a bool to an integer#Find out if a node is a leaf or not+Return the labels of the leaves of the treeÂReturn the labels of the leaves of the tree with their relative heights from the root (the input number you give determines how many steps away the leaves are, should almost always start at 0)ÿReturn the labels of the leaves of the tree with their relative heights from the root (the input number you give determines how many steps away the leaves are, should almost always start at 0). Also, here we give leaves that share a parent a separate label.àReturn the labels of the leaves of the tree with their weights determined by the product of the number of children of their parents all the way up to the root, along with their distance. Returns Double for more precision.âReturn the labels of the leaves of the tree with their weights determined by the product of the number of children of their parents all the way up to the root. Also, here we give leaves that share a parent a separate label.ñReturn the labels of the leaves of the tree with their relative heights from the root (the input number you give determines how many steps away the leaves are, should almost always start at 0), slower version not requiring Ord but no Maps"Return the inner nodes of the tree%Return the number of leaves in a tree*Return the number of inner nodes of a treeIReturn True if a tree has a leaf connected to the root of the given treeReturn the list of root leaves:Return the list of properties in a property map for a treeRemove leaves from a tree.Remove leaves attached to the root of the tree:Return the map of distances from each leaf to another leaf/Find the distance between two leaves in a tree. :Return the map of distances from each leaf to another leaf!ŠFind the distance between two leaves in a leafNode tree. Begin recording distances when record is True (should have height starting at 0)"5Get the sum of a tree for a tree with numbered labels#QConvert a tree to the LeafNode tree data structure (the leaves are in the nodes) !"# !"# !"# !"#$       !"#$%treef_B8U4PyZ38EaHHeCSCGEdVnMath.TreeFun.TypesMath.TreeFun.TreeMaybePropertyMap PropertyMap DistanceMapHeight SuperNode SuperRoot myRootLabelmyParentmyLeavesPropertySuperTree superTreesuperProperties boolToIntisLeafleaves leavesHeightleavesCommonHeightleavesParentMultleavesCommonParentMultleavesHeightList innerNodes numLeavesnumInner hasRootLeaf getRootLeaves getProperties filterLeavesfilterRootLeavesgetDistanceMap getDistancegetDistanceMapSuperNodegetDistanceSuperNodesumTreetoSuperNodeTree