Sha256: 77e393153bad1460aa4a79d7da89ccad8af95f786258a0bca4b858c70c2ceb56

Contents?: true

Size: 121 Bytes

Versions: 1

Compression:

Stored size: 121 Bytes

Contents

module Haskell
  module Base
    def wrong_type?(obj, klass)
      !(obj.is_a?(klass) || klass == Any)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
haskell-0.0.3 lib/haskell/base.rb