From 74f2627526a5abc928c7a8e51da8c9337b270254 Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Tue, 24 Jun 2008 18:33:08 -0500 Subject: [PATCH] More short-circuit updates --- extra/furnace/auth/login/permits/permits.factor | 4 +++- extra/furnace/boilerplate/boilerplate.factor | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/extra/furnace/auth/login/permits/permits.factor b/extra/furnace/auth/login/permits/permits.factor index 49cf98e0e3..ae9458f4ac 100644 --- a/extra/furnace/auth/login/permits/permits.factor +++ b/extra/furnace/auth/login/permits/permits.factor @@ -1,6 +1,8 @@ USING: accessors namespaces combinators.lib kernel db.tuples db.types -furnace.auth furnace.sessions furnace.cache ; +furnace.auth furnace.sessions furnace.cache +combinators.short-circuit ; + IN: furnace.auth.login.permits TUPLE: permit < server-state session uid ; diff --git a/extra/furnace/boilerplate/boilerplate.factor b/extra/furnace/boilerplate/boilerplate.factor index 0e2a673d9b..2bb97e7c14 100644 --- a/extra/furnace/boilerplate/boilerplate.factor +++ b/extra/furnace/boilerplate/boilerplate.factor @@ -7,7 +7,7 @@ html.templates.chloe locals http.server http.server.filters -furnace ; +furnace combinators.short-circuit ; IN: furnace.boilerplate TUPLE: boilerplate < filter-responder template init ;