Sha256: 7215dcff8201d3e25fa4d27e28eae907d4f2d3fa0d30abc8a1ec9e4fe6a46924
Contents?: true
Size: 292 Bytes
Versions: 4
Compression:
Stored size: 292 Bytes
Contents
# frozen_string_literal: true module Kind module Lambda extend self, TypeChecker def kind; ::Proc; end def name; 'Lambda'; end def ===(value) value.kind_of?(::Proc) && value.lambda? end end def self.Lambda?(*values) KIND.of?(Lambda, values) end end
Version data entries
4 entries across 4 versions & 1 rubygems