SYMBOL INDEX (129 symbols across 14 files) FILE: lib/kleisli.rb type Kleisli (line 8) | module Kleisli FILE: lib/kleisli/composition.rb type Kleisli (line 1) | module Kleisli class ComposedFn (line 2) | class ComposedFn < BasicObject method comp (line 3) | def self.comp(f, g) method initialize (line 7) | def initialize(fns=[]) method fn (line 11) | def fn(*args, &block) method method_missing (line 18) | def method_missing(meth, *args, &block) method call (line 25) | def call(*args) method to_ary (line 33) | def to_ary FILE: lib/kleisli/either.rb type Kleisli (line 4) | module Kleisli class Either (line 5) | class Either < Monad method == (line 8) | def ==(other) method * (line 12) | def *(other) class Right (line 20) | class Right < Either method initialize (line 23) | def initialize(right) method > (line 27) | def >(f) method fmap (line 31) | def fmap(&f) method to_maybe (line 35) | def to_maybe method or (line 39) | def or(other=nil, &other_blk) method to_s (line 43) | def to_s class Left (line 49) | class Left < Either method initialize (line 52) | def initialize(left) method > (line 56) | def >(f) method fmap (line 60) | def fmap(&f) method to_maybe (line 64) | def to_maybe method or (line 68) | def or(other=self, &other_blk) method to_s (line 76) | def to_s function Right (line 87) | def Right(v) function Left (line 91) | def Left(v) FILE: lib/kleisli/functor.rb type Kleisli (line 1) | module Kleisli class Functor (line 2) | class Functor method fmap (line 3) | def fmap(&f) FILE: lib/kleisli/future.rb type Kleisli (line 3) | module Kleisli class Future (line 4) | class Future < Monad method lift (line 5) | def self.lift(v=nil, &block) method initialize (line 13) | def initialize(t) method > (line 17) | def >(f) method fmap (line 21) | def fmap(&f) method await (line 25) | def await function Future (line 31) | def Future(v=nil, &block) FILE: lib/kleisli/maybe.rb type Kleisli (line 3) | module Kleisli class Maybe (line 4) | class Maybe < Monad method lift (line 7) | def self.lift(value) method == (line 15) | def ==(other) method * (line 19) | def *(other) class None (line 28) | class None < Maybe method fmap (line 29) | def fmap(&f) method > (line 33) | def >(block) method or (line 37) | def or(other=self, &other_blk) method to_s (line 45) | def to_s class Some (line 51) | class Some < Maybe method initialize (line 52) | def initialize(value) method fmap (line 56) | def fmap(&f) method > (line 60) | def >(block) method or (line 64) | def or(other=nil, &other_blk) method to_s (line 68) | def to_s function Maybe (line 78) | def Maybe(v) function None (line 82) | def None() function Some (line 86) | def Some(v) FILE: lib/kleisli/monad.rb type Kleisli (line 3) | module Kleisli class Monad (line 4) | class Monad < Functor method > (line 5) | def >(block) method >> (line 9) | def >>(block) FILE: lib/kleisli/try.rb type Kleisli (line 4) | module Kleisli class Try (line 5) | class Try < Monad method lift (line 8) | def self.lift(f) class Success (line 14) | class Success < Try method initialize (line 15) | def initialize(value) method > (line 19) | def >(f) method fmap (line 25) | def fmap(&f) method to_maybe (line 29) | def to_maybe method to_either (line 33) | def to_either class Failure (line 38) | class Failure < Try method initialize (line 39) | def initialize(exception) method > (line 43) | def >(f) method fmap (line 47) | def fmap(&f) method to_maybe (line 51) | def to_maybe method to_either (line 55) | def to_either function Try (line 62) | def Try(&f) FILE: lib/kleisli/version.rb type Kleisli (line 1) | module Kleisli FILE: test/kleisli/composition_test.rb class CompositionTest (line 3) | class CompositionTest < Minitest::Test method test_one_method (line 4) | def test_one_method method test_two_methods (line 11) | def test_two_methods method test_one_function (line 18) | def test_one_function method test_two_functions (line 27) | def test_two_functions method test_one_function_one_block (line 37) | def test_one_function_one_block method test_one_function_one_method (line 46) | def test_one_function_one_method method test_undefined_method (line 55) | def test_undefined_method method test_identity (line 60) | def test_identity method test_partially_applied_method (line 64) | def test_partially_applied_method method test_partially_applied_fn (line 71) | def test_partially_applied_fn FILE: test/kleisli/either_test.rb class EitherTest (line 3) | class EitherTest < Minitest::Test method test_lift_right (line 4) | def test_lift_right method test_lift_left (line 8) | def test_lift_left method test_bind_right (line 12) | def test_bind_right method test_bind_left (line 23) | def test_bind_left method test_fmap_right (line 30) | def test_fmap_right method test_fmap_left (line 34) | def test_fmap_left method test_to_maybe_right (line 38) | def test_to_maybe_right method test_to_maybe_left (line 42) | def test_to_maybe_left method test_pointfree (line 46) | def test_pointfree method test_applicative_functor_right_arity_1 (line 50) | def test_applicative_functor_right_arity_1 method test_applicative_functor_right_arity_2 (line 54) | def test_applicative_functor_right_arity_2 method test_applicative_functor_left (line 58) | def test_applicative_functor_left FILE: test/kleisli/future_test.rb class FutureTest (line 3) | class FutureTest < Minitest::Test method test_immediate_value (line 4) | def test_immediate_value method test_simple_future_executes_in_parallel (line 8) | def test_simple_future_executes_in_parallel method test_bind (line 16) | def test_bind method test_fmap (line 27) | def test_fmap FILE: test/kleisli/maybe_test.rb class MaybeTest (line 3) | class MaybeTest < Minitest::Test method test_unwrapping_some (line 4) | def test_unwrapping_some method test_unwrapping_none (line 8) | def test_unwrapping_none method test_bind_none (line 12) | def test_bind_none method test_bind_some (line 16) | def test_bind_some method test_fmap_none (line 20) | def test_fmap_none method test_fmap_some (line 24) | def test_fmap_some method test_applicative_functor_some_arity_1 (line 28) | def test_applicative_functor_some_arity_1 method test_applicative_functor_some_arity_2 (line 32) | def test_applicative_functor_some_arity_2 method test_applicative_functor_none (line 36) | def test_applicative_functor_none FILE: test/kleisli/try_test.rb class TryTest (line 3) | class TryTest < Minitest::Test method test_success (line 4) | def test_success method test_failure (line 8) | def test_failure method test_to_maybe_success (line 12) | def test_to_maybe_success method test_to_maybe_failure (line 16) | def test_to_maybe_failure method test_to_either_success (line 20) | def test_to_either_success method test_to_either_failure (line 24) | def test_to_either_failure method test_fmap_success (line 28) | def test_fmap_success method test_fmap_failure (line 32) | def test_fmap_failure method test_bind (line 36) | def test_bind