Update code for combinators.short-circuit

db4
Eduardo Cavazos 2008-06-24 13:47:54 -05:00
parent 945fe1bc74
commit bf238283da
27 changed files with 37 additions and 27 deletions

View File

@ -1,5 +1,5 @@
USING: kernel namespaces
USING: combinators.short-circuit kernel namespaces
math
math.constants
math.functions

View File

@ -1,5 +1,5 @@
USING: kernel namespaces
USING: combinators.short-circuit kernel namespaces
math
math.functions
math.vectors

View File

@ -1,5 +1,5 @@
USING: kernel
USING: combinators.short-circuit kernel
combinators
vectors
sequences

View File

@ -1,7 +1,7 @@
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 ;

View File

@ -1,6 +1,6 @@
! 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

View File

@ -2,7 +2,7 @@ USING: kernel words inspector slots quotations sequences 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 ;

View File

@ -6,7 +6,7 @@ quotations combinators combinators.lib logging calendar assocs
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

View File

@ -1,5 +1,6 @@
USING: sequences kernel math locals math.order math.ranges
accessors combinators.lib arrays namespaces combinators ;
accessors combinators.lib arrays namespaces combinators
combinators.short-circuit ;
IN: lcs
<PRIVATE

View File

@ -3,7 +3,7 @@
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

View File

@ -1,7 +1,7 @@
! 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

View File

@ -1,6 +1,6 @@
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

View File

@ -1,6 +1,6 @@
USING: kernel sbufs strings sequences assocs math
combinators.lib vars lsys.strings ;
combinators.lib vars lsys.strings combinators.short-circuit ;
IN: lsys.strings.rewrite

View File

@ -1,5 +1,5 @@
USING: kernel sequences math combinators.lib ;
USING: kernel sequences math combinators.lib combinators.short-circuit ;
IN: lsys.strings

View File

@ -2,7 +2,7 @@
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

View File

@ -16,7 +16,8 @@ USING: kernel namespaces threads math math.order math.vectors
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

View File

@ -1,7 +1,8 @@
! 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

View File

@ -3,7 +3,8 @@
USING: kernel compiler.units parser words arrays strings math.parser sequences
quotations vectors namespaces math assocs continuations peg
peg.parsers unicode.categories multiline combinators.lib
splitting accessors effects sequences.deep peg.search ;
splitting accessors effects sequences.deep peg.search
combinators.short-circuit ;
IN: peg.ebnf
TUPLE: ebnf-non-terminal symbol ;

View File

@ -1,7 +1,7 @@
! 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

View File

@ -1,7 +1,7 @@
! 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

View File

@ -1,7 +1,8 @@
! 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

View File

@ -1,7 +1,7 @@
! 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

View File

@ -1,7 +1,8 @@
! 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

View File

@ -1,6 +1,7 @@
! 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

View File

@ -17,7 +17,7 @@ USING: definitions io io.files kernel math math.parser project-euler.ave-time
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

View File

@ -1,7 +1,8 @@
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

View File

@ -2,7 +2,8 @@
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

View File

@ -2,7 +2,8 @@ IN: xmode.marker
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