Skip to content

Instantly share code, notes, and snippets.

@wwj718
Created July 23, 2019 10:16

Revisions

  1. wwj718 created this gist Jul 23, 2019.
    4 changes: 4 additions & 0 deletions smalltalk_block.st
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    "block"
    a := [ :x :y | [ :z| x+y+z] ].
    b := a value:1 value:2.
    b value: 3