Sha256: 53d15cab17789e0b7cf54f0c07d350e2e5812e70d70fbeb4d8ac72af76e3d350

Contents?: true

Size: 367 Bytes

Versions: 21

Compression:

Stored size: 367 Bytes

Contents

module Funkr
  module Categories
    module Monad
      
      def bind(&block)
        raise "Monad#bind not implemented"
      end
      
      module ClassMethods
        
        def unit
          raise "Monad.unit not implemented"
        end
        
      end
      
      def bind_(&block)
        self.bind{|*args| yield}
      end
      
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
funkr-0.0.23 lib/funkr/categories/monad.rb
funkr-0.0.22 lib/funkr/categories/monad.rb
funkr-0.0.21 lib/funkr/categories/monad.rb
funkr-0.0.20 lib/funkr/categories/monad.rb
funkr-0.0.19 lib/funkr/categories/monad.rb
funkr-0.0.18 lib/funkr/categories/monad.rb
funkr-0.0.17 lib/funkr/categories/monad.rb
funkr-0.0.16 lib/funkr/categories/monad.rb
funkr-0.0.15 lib/funkr/categories/monad.rb
funkr-0.0.14 lib/funkr/categories/monad.rb
funkr-0.0.12 lib/funkr/categories/monad.rb
funkr-0.0.11 lib/funkr/categories/monad.rb
funkr-0.0.10 lib/funkr/categories/monad.rb
funkr-0.0.9 lib/funkr/categories/monad.rb
funkr-0.0.8 lib/funkr/categories/monad.rb
funkr-0.0.7 lib/funkr/categories/monad.rb
funkr-0.0.6 lib/funkr/categories/monad.rb
funkr-0.0.5 lib/funkr/categories/monad.rb
funkr-0.0.4 lib/funkr/categories/monad.rb
funkr-0.0.3 lib/funkr/categories/monad.rb