use of com.oath.cyclops.hkt.Higher in project cyclops by aol.
the class TaglessFinal3Test method setup.
@Before
public void setup() {
nt = new NaturalTransformation<identity, io>() {
@Override
public <T> Higher<io, T> apply(Higher<identity, T> a) {
return IO.sync(Identity.narrowK(a));
}
};
acc1 = new Account(10000d, 10);
acc2 = new Account(0d, 11);
prog = new Program3<>(IOInstances.monad(), new AccountIO(), new LogID(), nt, acc2, acc1);
}
Aggregations