My Problem, My Solution

My Problem, My Solution

A talk about typing I gave at Frozen Rails 2014

Penelope Phippen

September 12, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

125 slides
  1. ✕

  2. +

  3. /

  4. —

  5. The class holds the shared behavior for its instances (in

    the form of objects in a program list)
  6. To eval a program list, control is passed to the

    first object and the remainder is treated as its message.
  7. class Just def initialize(value) @value = value end def map(&blk)

    def value_or(x) Just.new(blk.call(@value)) @value end end end

More Decks by Penelope Phippen

Other Decks in Technology