File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/main/java/com/jnape/palatable/lambda/traversable Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -444,8 +444,7 @@ Examples of traversable functors include:
444444- `Choice * `
445445- `Either `
446446- `Const ` and `Identity `
447- - `TraversableIterable ` for wrapping `Iterable ` in an instance of `Traversable `
448- - `TraversableOptional ` for wrapping `Optional ` in an instance of `Traversable `
447+ - `LambdaIterable ` for wrapping `Iterable ` in an instance of `Traversable `
449448
450449In addition to implementing `fmap` from `Functor `, implementing a traversable functor involves providing an implementation of `traverse`.
451450
Original file line number Diff line number Diff line change @@ -113,21 +113,21 @@ public int hashCode() {
113113 }
114114
115115 /**
116- * Wrap an {@link Iterable} in a <code>TraversableIterable</code> .
116+ * Wrap an {@link Iterable} in a {@link LambdaIterable} .
117117 *
118118 * @param as the Iterable
119119 * @param <A> the Iterable element type
120- * @return the Iterable wrapped in a TraversableIterable
120+ * @return the Iterable wrapped in a {@link LambdaIterable}
121121 */
122122 public static <A > LambdaIterable <A > wrap (Iterable <? extends A > as ) {
123123 return new LambdaIterable <>(as );
124124 }
125125
126126 /**
127- * Construct an empty <code>TraversableIterable</code> by wrapping {@link java.util.Collections#emptyList()}.
127+ * Construct an empty {@link LambdaIterable} by wrapping {@link java.util.Collections#emptyList()}.
128128 *
129129 * @param <A> the Iterable element type
130- * @return a TraversableIterable wrapping Collections.emptyList()
130+ * @return a {@link LambdaIterable} wrapping Collections.emptyList()
131131 */
132132 public static <A > LambdaIterable <A > empty () {
133133 return wrap (emptyList ());
You can’t perform that action at this time.
0 commit comments