-USING: kernel namespaces
+USING: combinators.short-circuit kernel namespaces
math
math.constants
math.functions
-USING: kernel namespaces
+USING: combinators.short-circuit kernel namespaces
math
math.functions
math.vectors
-USING: kernel
+USING: combinators.short-circuit kernel
combinators
vectors
sequences
USING: kernel combinators sequences sets math threads namespaces continuations
debugger io io.sockets unicode.case accessors destructors
- combinators.cleave combinators.lib
+ combinators.cleave combinators.lib combinators.short-circuit
newfx fry
dns dns.util dns.misc ;
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators io io.encodings.8-bit
+USING: combinators.short-circuit accessors combinators io io.encodings.8-bit
io.encodings io.encodings.binary io.encodings.utf8 io.files
io.sockets kernel math.parser namespaces sequences
ftp io.unix.launcher.parser unicode.case splitting assocs
math arrays inference effects shuffle continuations debugger
classes.tuple namespaces vectors bit-arrays byte-arrays strings
sbufs math.functions macros sequences.private combinators
-mirrors combinators.lib ;
+mirrors combinators.lib combinators.short-circuit ;
IN: inverse
TUPLE: fail ;
fry accessors arrays io io.sockets io.encodings.ascii
io.sockets.secure io.files io.streams.duplex io.timeouts
io.encodings threads concurrency.combinators
-concurrency.semaphores ;
+concurrency.semaphores combinators.short-circuit ;
IN: io.servers.connection
TUPLE: threaded-server
USING: sequences kernel math locals math.order math.ranges\r
-accessors combinators.lib arrays namespaces combinators ;\r
+accessors combinators.lib arrays namespaces combinators\r
+combinators.short-circuit ;\r
IN: lcs\r
\r
<PRIVATE\r
USING: kernel peg sequences arrays strings combinators.lib
namespaces combinators math locals locals.private locals.backend accessors
vectors syntax lisp.parser assocs parser sequences.lib words
-quotations fry lists inspector ;
+quotations fry lists inspector combinators.short-circuit ;
IN: lisp
DEFER: convert-form
! Copyright (C) 2008 James Cash
! See http://factorcode.org/license.txt for BSD license.
USING: kernel peg peg.ebnf peg.expr math.parser sequences arrays strings
-combinators.lib math fry accessors lists ;
+combinators.lib math fry accessors lists combinators.short-circuit ;
IN: lisp.parser
USING: kernel sequences quotations assocs math math.parser
- combinators.lib vars lsys.strings ;
+ combinators.lib vars lsys.strings combinators.short-circuit ;
IN: lsys.strings.interpret
USING: kernel sbufs strings sequences assocs math
- combinators.lib vars lsys.strings ;
+ combinators.lib vars lsys.strings combinators.short-circuit ;
IN: lsys.strings.rewrite
-USING: kernel sequences math combinators.lib ;
+USING: kernel sequences math combinators.lib combinators.short-circuit ;
IN: lsys.strings
USING: kernel math vectors sequences opengl.gl math.vectors math.order
math.matrices vars opengl self pos ori turtle lsys.tortoise
- lsys.strings.interpret ;
+ lsys.strings.interpret combinators.short-circuit ;
! lsys.strings
vars rewrite-closures
self pos ori turtle opengl.camera
lsys.tortoise lsys.tortoise.graphics
- lsys.strings.rewrite lsys.strings.interpret ;
+ lsys.strings.rewrite lsys.strings.interpret
+ combinators.short-circuit ;
! lsys.strings
! lsys.strings.rewrite
! Copyright (c) 2007 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: combinators.lib kernel math math.functions math.parser namespaces
- sequences splitting grouping sequences.lib ;
+ sequences splitting grouping sequences.lib
+ combinators.short-circuit ;
IN: math.text.english
<PRIVATE
USING: kernel compiler.units parser words arrays strings math.parser sequences \r
quotations vectors namespaces math assocs continuations peg\r
peg.parsers unicode.categories multiline combinators.lib \r
- splitting accessors effects sequences.deep peg.search ;\r
+ splitting accessors effects sequences.deep peg.search\r
+ combinators.short-circuit ;\r
IN: peg.ebnf\r
\r
TUPLE: ebnf-non-terminal symbol ;\r
! Copyright (c) 2007 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: arrays combinators.lib kernel math math.ranges namespaces sequences
- sorting ;
+ sorting combinators.short-circuit ;
IN: project-euler.014
! http://projecteuler.net/index.php?section=problems&id=14
! Copyright (c) 2007 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel math.ranges math.text.english sequences sequences.lib strings
- ascii ;
+ ascii combinators.short-circuit ;
IN: project-euler.017
! http://projecteuler.net/index.php?section=problems&id=17
! Copyright (c) 2007 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: combinators.lib kernel math math.functions math.ranges namespaces
- project-euler.common sequences sequences.lib ;
+ project-euler.common sequences sequences.lib
+ combinators.short-circuit ;
IN: project-euler.021
! http://projecteuler.net/index.php?section=problems&id=21
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: combinators.lib kernel math.parser math.ranges project-euler.common
- sequences ;
+ sequences combinators.short-circuit ;
IN: project-euler.036
! http://projecteuler.net/index.php?section=problems&id=36
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: combinators.lib hashtables kernel math math.combinatorics math.parser
- math.ranges project-euler.common sequences sequences.lib sorting sets ;
+ math.ranges project-euler.common sequences sequences.lib sorting
+ sets combinators.short-circuit ;
IN: project-euler.043
! http://projecteuler.net/index.php?section=problems&id=43
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators.lib kernel math project-euler.common sequences sorting ;
+USING: combinators.lib kernel math project-euler.common sequences
+sorting combinators.short-circuit ;
IN: project-euler.052
! http://projecteuler.net/index.php?section=problems&id=52
project-euler.052 project-euler.053 project-euler.056 project-euler.059
project-euler.067 project-euler.075 project-euler.079 project-euler.092
project-euler.097 project-euler.134 project-euler.169 project-euler.173
- project-euler.175 ;
+ project-euler.175 combinators.short-circuit ;
IN: project-euler
<PRIVATE
USING: arrays combinators kernel lists math math.parser
namespaces parser parser-combinators parser-combinators.simple
promises quotations sequences combinators.lib strings math.order
-assocs prettyprint.backend memoize unicode.case unicode.categories ;
+assocs prettyprint.backend memoize unicode.case unicode.categories
+combinators.short-circuit ;
USE: io
IN: regexp
USING: kernel parser words continuations namespaces debugger
sequences combinators splitting prettyprint
system io io.files io.launcher io.encodings.utf8 io.pipes sequences.deep
- accessors multi-methods newfx shell.parser ;
+ accessors multi-methods newfx shell.parser
+ combinators.short-circuit ;
IN: shell
USING: kernel namespaces xmode.rules xmode.tokens
xmode.marker.state xmode.marker.context xmode.utilities
xmode.catalog sequences math assocs combinators combinators.lib
-strings regexp splitting parser-combinators ascii unicode.case ;
+strings regexp splitting parser-combinators ascii unicode.case
+combinators.short-circuit ;
! Based on org.gjt.sp.jedit.syntax.TokenMarker