Module: TAlgebra::Monad::SingleValued

Included in:
Either, Maybe, Parser
Defined in:
lib/t_algebra/monad/single_valued.rb

Defined Under Namespace

Modules: Static

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



27
28
29
30
31
32
# File 'lib/t_algebra/monad/single_valued.rb', line 27

def included(base)
  base.class_eval do
    include TAlgebra::Monad
  end
  base.extend(Static)
end