|
Copyright Tony Morris 2008 This software is released under an open source BSD licence. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfj.P1<B>
fj.data.$<A,B>
public class $<A,B>
The constant arrow, for attaching a new name to an existing type. For every pair of types A and B, this type is the identity morphism from B to B.
| Method Summary | ||
|---|---|---|
static
|
_(B b)
|
|
B |
_1()
Access the first element of the product. |
|
| Methods inherited from class fj.P1 |
|---|
__1, apply, bind, bind, curry, fmap, join, liftM2, map, sequence, sequence, sequence, sequenceList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <A,B> $<A,B> _(B b)
public B _1()
P1
_1 in class P1<B>
|
Copyright Tony Morris 2008 This software is released under an open source BSD licence. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||