# 27.3: a row reducer takes its row, mut, first and the action last import "ludic.base" program RowReducerParams { property Deer { fear: int = 0 } state Herd { deer: Table = null } action Spook { @Target who: int = -1 } reducer Deer in Herd.deer on Spook(r: Row, a: Spook) { print(r.rec.fear) } entry { print(1) } }