calculating

blodgett was reducing the quantities required in a recipe to 2/5ths of original. this is tedious. fortunately blodgett uses scm (http://en.wikipedia.org/wiki/Scheme_(programming_language)) as its calculator. this makes things less tedious.

> (define (squish amt) (* 2 (/ amt 5))
#
> (map squish '(600 750 200 300))
(240 300 80 120)

success!

2 Responses to “calculating”

  1. cakesniffer says:

    Seems rather unlike blodgett to be reducing the quantities of ingredients. Commendations on the use of Scheme however :D

  2. blodgett says:

    blodgett was reducing recipe it made that served ~25 for a friend who wanted only ~10. blodgett prefers its original version.