From a4a188627315a688d841a9a622a053b527d3b88a Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Sun, 3 Oct 2010 17:11:09 -0400 Subject: [PATCH] week4 tweaks Signed-off-by: Jim Pryor --- week4.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/week4.mdwn b/week4.mdwn index 58bd7473..e9a206f0 100644 --- a/week4.mdwn +++ b/week4.mdwn @@ -593,8 +593,8 @@ detail](http://okmij.org/ftp/Streams.html#enumerator-stream). > We could improve this by building lists as left folds when implementing them > as continuation-passing style folds. We'd just replace above: > -> let make_list = \h t. \f z continue_handler abort_handler. -> f h z (\z. t f z continue_handler abort_handler) abort_handler +> let make_list = \h t. \f z continue_handler abort_handler. +> f h z (\z. t f z continue_handler abort_handler) abort_handler > > now `extract_head` should return the leftmost head directly, using its > `abort_handler`: -- 2.11.0