接口的使用
com.jackmeng.NaiveMonad
程序包
说明
All code here are imported and used from my old standard library known as
com.jackmeng.stl
-
com.jackmeng中NaiveMonad的使用
修饰符和类型方法说明<R> NaiveMonad<R>
NaiveMonad.bind
(Function<? super T, NaiveMonad<R>> f) static <T> NaiveMonad<T>
NaiveMonad.unit
(T value)