class Pair

Public Class Methods

of(f,s) click to toggle source
# File lib/typed/prelude.rb, line 451
def self.of(f,s)
  Pair.new([f,s])
end

Public Instance Methods

second() click to toggle source
# File lib/typed/prelude.rb, line 458
def second
  cast(at(1), '[T]')
end