Utility methods for scalaz Trees
Attributes
Members list
Type members
Classlikes
This implicit can be used to remove None nodes in a Tree
This implicit can be used to remove None nodes in a Tree
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Implicit definition to add more functionalities to the Tree trait
Implicit definition to add more functionalities to the Tree trait
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
- Returns
-
all the paths from root to leaves
map a Tree from leaves to root by replacing each node with the result of a function taking that node and the mapping of all its children.
map a Tree from leaves to root by replacing each node with the result of a function taking that node and the mapping of all its children.
This is used in JUnit to map a Tree[Description] where no Description objects are related to a Tree[Description] where each node returns the children nodes on the "getChildren" method
Attributes
remove None nodes from a tree
remove None nodes from a tree
Attributes
Attributes
- Returns
-
the list of all parent locs from a given TreeLoc
remove nodes from a tree if they are None according to a function f
remove nodes from a tree if they are None according to a function f
Attributes
remove nodes from a tree if they are None according to a function f
remove nodes from a tree if they are None according to a function f
Attributes
Attributes
- Returns
-
the number of nodes in a TreeLoc
Implicits
Implicits
This implicit can be used to remove None nodes in a Tree
This implicit can be used to remove None nodes in a Tree
Attributes
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Attributes
Implicit definition to add more functionalities to the Tree trait
Implicit definition to add more functionalities to the Tree trait