# TreePartial

``public typealias TreePartial = ForTree``
• ``` eq(_:_:) ```

#### Declaration

Swift

``public static func eq<A>(_ lhs: TreeOf<A>, _ rhs: TreeOf<A>) -> Bool where A : Equatable``
• ``` hash(_:into:) ```

#### Declaration

Swift

``public static func hash<A>(_ fa: TreeOf<A>, into hasher: inout Hasher) where A : Hashable``
• ``` map(_:_:) ```

#### Declaration

Swift

``````public static func map<A, B>(
_ fa: TreeOf<A>,
_ f: @escaping (A) -> B) -> TreeOf<B>``````
• ``` pure(_:) ```

#### Declaration

Swift

``public static func pure<A>(_ a: A) -> TreeOf<A>``
• ``` ap(_:_:) ```

#### Declaration

Swift

``public static func ap<A, B>(_ functionTree: TreeOf<(A) -> B>, _ elementsTree: TreeOf<A>) -> TreeOf<B>``
• ``` flatMap(_:_:) ```

#### Declaration

Swift

``public static func flatMap<A, B>(_ fa: TreeOf<A>, _ f: @escaping (A) -> TreeOf<B>) -> TreeOf<B>``
• ``` tailRecM(_:_:) ```

#### Declaration

Swift

``public static func tailRecM<A, B>(_ a: A, _ f: @escaping (A) -> TreeOf<Either<A, B>>) -> TreeOf<B>``
• ``` foldLeft(_:_:_:) ```

#### Declaration

Swift

``public static func foldLeft<A, B>(_ fa: Kind<ForTree, A>, _ b: B, _ f: @escaping (B, A) -> B) -> B``
• ``` foldRight(_:_:_:) ```

#### Declaration

Swift

``public static func foldRight<A, B>(_ fa: Kind<ForTree, A>, _ b: Eval<B>, _ f: @escaping (A, Eval<B>) -> Eval<B>) -> Eval<B>``
• ``` traverse(_:_:) ```

#### Declaration

Swift

``public static func traverse<G, A, B>(_ fa: TreeOf<A>, _ f: @escaping (A) -> Kind<G, B>) -> Kind<G, TreeOf<B>> where G : Applicative``