Skip to content

Commit 585c164

Browse files
committed
Adding javadoc
1 parent d02df8a commit 585c164

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • src/main/java/com/jnape/palatable/lambda/optics

src/main/java/com/jnape/palatable/lambda/optics/Optic.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@
2222
@FunctionalInterface
2323
public interface Optic<P extends Profunctor<?, ?, ? extends P>, F extends Functor<?, ? extends F>, S, T, A, B> {
2424

25+
/**
26+
* The polymorphic arrow between profunctors in this optic interface.
27+
*
28+
* @param pafb the input
29+
* @param <CoP> the profunctor type constraint witnessed by the application of this optic
30+
* @param <CoF> the functor type constraint witnessed by the application of this optic
31+
* @param <FB> the covariant parameter type of the input profunctor
32+
* @param <FT> the covariant parameter type of the output profunctor
33+
* @param <PAFB> the full input type
34+
* @param <PSFT> the full output type
35+
* @return the output profunctor
36+
*/
2537
<CoP extends Profunctor<?, ?, ? extends P>,
2638
CoF extends Functor<?, ? extends F>,
2739
FB extends Functor<B, ? extends CoF>,

0 commit comments

Comments
 (0)