MCPcopy Create free account

hub / github.com/beark/ftl / functions

Functions358 in github.com/beark/ftl

Methodoperator>
include/ftl/ord.h:130
Functionoperator>=
include/ftl/maybe.h:157
Functionoperator>=
include/ftl/prelude.h:215
Methodoperator>=
include/ftl/ord.h:134
Functionoperator>>
include/ftl/concepts/monad.h:856
Functionoperator>>=
include/ftl/concepts/monad.h:740
Functionoperator^
include/ftl/concepts/monoid.h:186
Functionoperator|
include/ftl/concepts/applicative.h:431
Functionoptional
include/ftl/maybe.h:543
MethodorDo
* Performs the monadic computation `mm1`. If it fails, `mm2` is * returned, otherwise the result is (re-wrapped). */
include/ftl/maybe_trans.h:298
MethodorDo
* Evaluate two alternatives. * * If `e1` wraps a right value, it is instantly returned. Otherwise, * `e2` is checked for rightness. If both `
include/ftl/either_trans.h:422
Methodord
Defaults to Eq.
include/ftl/ord.h:83
Methodotherwise
include/ftl/sum_type.h:122
Methodpartial_application
include/ftl/implementation/currying.h:378
Functionprepend
examples/parser_combinator/parser_combinator.cpp:80
Methodprod_monoid
* Construct from `N`. * * This allows implicit conversion from `N` to `prod_monoid<N>`. The * purpose is of course to make the `prod_monoid`
include/ftl/concepts/monoid.h:483
Methodptr
include/ftl/sum_type.h:250
Methodptr
include/ftl/sum_type.h:266
Methodpure
* Embeds a value in the `maybe` context/container. * * Exactly equivalent to invoking `just` on the value. */
include/ftl/maybe.h:244
Methodpure
* Wrap a value in a lazyT. * * Essentially equivalent of invoking `M`'s pure on a deferred * computation that will result in `t`. */
include/ftl/lazy_trans.h:149
Methodpure
Uses `M`'s pure to create a value (as opposed to `nothing`)
include/ftl/maybe_trans.h:149
Methodpure
TODO: C++14 - Create version that lambda captures a by move Creates a function that returns `a`, regardless of its parameters.
include/ftl/functional.h:85
Methodpure
include/ftl/functional.h:261
Methodpure
include/ftl/either_trans.h:172
Methodpure
* Embeds a single value in a set. * * In other words, produces a set with a single element of the value * `t`. */
include/ftl/set.h:163
Methodpure
include/ftl/memory.h:123
Methodpure
* Creates a tuple with `a` as first element. * * All the other fields are initialised with their respective * `monoid::id()` results. */
include/ftl/tuple.h:246
Methodpure
* Create a computation that computes `t` * * Sounds a bit silly&mdash;we already know `t` after all&mdash;but * there are situations when it
include/ftl/lazy.h:330
Methodpure
* Embeds a value as a right value. * * \par Examples * * \code * either<int,string> e = monad<either<int,string>>::pure("foo"); *
include/ftl/either.h:374
Methodpure
* Encapsulate a pure value in the applicative functor. * * Defaults to `monad<F>::pure`, because any monad is also an * applicative functor.
include/ftl/concepts/applicative.h:112
Methodpure
include/ftl/concepts/applicative.h:228
Methodrecursive_union
include/ftl/sum_type.h:468
Methodref
include/ftl/sum_type.h:240
Methodstatus
include/ftl/lazy.h:197
Methodstore_functor
include/ftl/implementation/function.h:192
Methodstore_functor
include/ftl/implementation/function.h:237
Functionstring2int
Workaround because stoi is not unary
examples/parser_combinatorics.cpp:9
Methodsum_monoid
* Initialises the number as `0`. */
include/ftl/concepts/monoid.h:374
Methodsum_type
include/ftl/sum_type.h:604
Functionuncurry
include/ftl/prelude.h:378
Methodvisit
include/ftl/sum_type.h:282
Methodvisit
include/ftl/sum_type.h:325
Methodvisit
include/ftl/sum_type.h:363
Methodvisit
include/ftl/sum_type.h:376
Methodvisit
include/ftl/sum_type.h:389
Methodvisit
include/ftl/sum_type.h:424
MethodzipWith
include/ftl/forward_list.h:389
MethodzipWith
include/ftl/concepts/zippable.h:184
Method~Left
include/ftl/either.h:171
Method~const_maybe_iterator
include/ftl/implementation/maybe_iterator.h:95
Method~function
include/ftl/function.h:274
Method~lazy
include/ftl/lazy.h:107
Method~lazy
include/ftl/lazy.h:178
Method~maybeT
include/ftl/maybe_trans.h:80
Method~maybe_iterator
include/ftl/implementation/maybe_iterator.h:49
Method~ord
include/ftl/ord.h:104
Method~recursive_union
include/ftl/sum_type.h:506
Method~sum_type
include/ftl/sum_type.h:651
← previous301–358 of 358, ranked by callers