25 void EitherTest::testBasicLeft ()
37 catch (
const std::exception&)
44 void EitherTest::testBasicRight ()
56 catch (
const std::exception&)
63 void EitherTest::testFMapLeft ()
70 void EitherTest::testFMapRight ()
77 void EitherTest::testFMapRightChangeType ()
84 void EitherTest::testPure ()
90 void EitherTest::testGSL ()
97 void EitherTest::testGSLLeft ()
105 void EitherTest::testGSLCurry ()
114 void EitherTest::testGSLCurryLeft ()
123 void EitherTest::testBind ()
130 void EitherTest::testBindLeft ()
151 void EitherTest::testBindLeftNotConstructed ()
static Either Left(const L &l)
static Either Right(R &&r)
Container< T > Filter(const Container< T > &c, F f)
FmapResult_t< T, F > Fmap(const T &functor, const F &function)
Apply the function f to the elements in functor.
CurryImpl< std::decay_t< F >, Args... > Curry(F &&f, Args &&... args)
bool operator==(const NoDefaultCtor &) const
NoDefaultCtor(const QString &)