Sha256: 7f6c710b2927635a4b274441abd28640d90ac36ff77d6ad5e5623e4cbbf28e8d

Contents?: true

Size: 701 Bytes

Versions: 10

Compression:

Stored size: 701 Bytes

Contents

require 'dry-equalizer'
require 'fear/version'

module Fear
  Error = Class.new(StandardError)
  IllegalStateException = Class.new(Error)
  NoSuchElementError = Class.new(Error)

  autoload :For, 'fear/for'
  autoload :Utils, 'fear/utils'
  autoload :RightBiased, 'fear/right_biased'

  autoload :Option, 'fear/option'
  autoload :Some, 'fear/some'
  autoload :None, 'fear/none'

  autoload :Try, 'fear/try'
  autoload :Success, 'fear/success'
  autoload :Failure, 'fear/failure'

  autoload :Either, 'fear/either'
  autoload :Left, 'fear/left'
  autoload :Right, 'fear/right'

  module Mixin
    include Either::Mixin
    include For::Mixin
    include Option::Mixin
    include Try::Mixin
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fear-0.7.0 lib/fear.rb
fear-0.6.0 lib/fear.rb
fear-0.5.0 lib/fear.rb
fear-0.4.2 lib/fear.rb
fear-0.4.1 lib/fear.rb
fear-0.4.0 lib/fear.rb
fear-0.3.0 lib/fear.rb
fear-0.2.0 lib/fear.rb
fear-0.1.0 lib/fear.rb
fear-0.0.1 lib/fear.rb