java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn2.Into1<A,B>
Type Parameters:
A - the first argument type
B - the result type
All Implemented Interfaces:
Fn1<Fn1<? super A,? extends B>,Fn1<SingletonHList<A>,B>>, Fn2<Fn1<? super A,? extends B>,SingletonHList<A>,B>, Applicative<Fn1<SingletonHList<A>,B>,Fn1<Fn1<? super A,? extends B>,?>>, Cartesian<Fn1<? super A,? extends B>,Fn1<SingletonHList<A>,B>,Fn1<?,?>>, Cocartesian<Fn1<? super A,? extends B>,Fn1<SingletonHList<A>,B>,Fn1<?,?>>, Contravariant<Fn1<? super A,? extends B>,Profunctor<?,Fn1<SingletonHList<A>,B>,Fn1<?,?>>>, Functor<Fn1<SingletonHList<A>,B>,Fn1<Fn1<? super A,? extends B>,?>>, Profunctor<Fn1<? super A,? extends B>,Fn1<SingletonHList<A>,B>,Fn1<?,?>>, Monad<Fn1<SingletonHList<A>,B>,Fn1<Fn1<? super A,? extends B>,?>>, MonadReader<Fn1<? super A,? extends B>,Fn1<SingletonHList<A>,B>,Fn1<Fn1<? super A,? extends B>,?>>, MonadRec<Fn1<SingletonHList<A>,B>,Fn1<Fn1<? super A,? extends B>,?>>, MonadWriter<Fn1<? super A,? extends B>,Fn1<SingletonHList<A>,B>,Fn1<Fn1<? super A,? extends B>,?>>

public final class Into1<A,B> extends Object implements Fn2<Fn1<? super A,? extends B>,SingletonHList<A>,B>
Given an Fn1<A, B> and a SingletonHList<A>, pop the head and apply it to the function, returning the result.
  • Field Details

    • INSTANCE

      private static final Into1<?,?> INSTANCE
  • Constructor Details

    • Into1

      public Into1()
  • Method Details