USING: kernel math accessors prettyprint io locals sequences
-math.ranges ;
+math.ranges math.order ;
IN: benchmark.binary-trees
TUPLE: tree-node item left right ;
IN: benchmark.mandel
-USING: arrays io kernel math namespaces sequences
+USING: arrays io kernel math math.order namespaces sequences
byte-arrays byte-vectors math.functions math.parser io.files
colors.hsv io.encodings.binary ;
math
math.constants
math.functions
+ math.order
math.vectors
math.trig
combinators arrays sequences random vars
-USING: kernel sequences math math.constants accessors
+USING: kernel sequences math math.constants math.order accessors
processing
processing.color ;
! gap buffer -- largely influenced by Strandh and Villeneuve's Flexichain
! for a good introduction see:
! http://p-cos.net/lisp-ecoop/submissions/StrandhVilleneuveMoore.pdf
-USING: kernel arrays sequences sequences.private circular math math.functions generic ;
+USING: kernel arrays sequences sequences.private circular math
+math.order math.functions generic ;
IN: gap-buffer
! gap-start -- the first element of the gap
! Copyright (C) 2004, 2006 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: generic assocs help http io io.styles io.files continuations
-io.streams.string kernel math math.parser namespaces
+io.streams.string kernel math math.order math.parser namespaces
quotations assocs sequences strings words html.elements
xml.entities sbufs continuations ;
IN: html
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel parser-combinators namespaces sequences promises strings
- assocs math math.parser math.vectors math.functions
+ assocs math math.parser math.vectors math.functions math.order
lazy-lists hashtables ascii ;
IN: json.reader
USING: arrays assocs hashtables assocs io kernel math
math.vectors math.matrices math.matrices.elimination namespaces
parser prettyprint sequences words combinators math.parser
-splitting sorting shuffle symbols sets ;
+splitting sorting shuffle symbols sets math.order ;
IN: koszul
! Utilities
! Copyright (C) 2006 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays help io kernel math namespaces sequences ;
+USING: arrays help io kernel math namespaces sequences
+math.order ;
IN: levenshtein
: <matrix> ( m n -- matrix )
-USING: kernel math vectors sequences opengl.gl math.vectors
+USING: kernel math vectors sequences opengl.gl math.vectors math.order
math.matrices vars opengl self pos ori turtle lsys.tortoise
lsys.strings.interpret ;
-USING: kernel namespaces threads math math.vectors quotations sequences
+USING: kernel namespaces threads math math.order math.vectors
+ quotations sequences
opengl
opengl.gl
colors
: lsys-window* ( -- )
[ lsys-controller lsys-viewer ] with-ui ;
-MAIN: lsys-window*
\ No newline at end of file
+MAIN: lsys-window*
-USING: help.markup help.syntax kernel math sequences ;
+USING: help.markup help.syntax kernel math math.order sequences ;
IN: math.combinatorics
HELP: factorial
! Copyright (c) 2007, 2008 Slava Pestov, Doug Coleman, Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs kernel math math.ranges mirrors namespaces sequences sorting ;
+USING: assocs kernel math math.order math.ranges mirrors
+namespaces sequences sorting ;
IN: math.combinatorics
<PRIVATE
USING: arrays kernel sequences vectors math math.vectors namespaces
-shuffle splitting sequences.lib ;
+shuffle splitting sequences.lib math.order ;
IN: math.polynomials
! Polynomials are vectors with the highest powers on the right:
! Copyright (C) 2007 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
USING: combinators kernel lazy-lists math math.functions math.miller-rabin
- math.primes.list math.ranges sequences sorting ;
+ math.order math.primes.list math.ranges sequences sorting ;
IN: math.primes
<PRIVATE
! From http://www.ffconsultancy.com/ocaml/maze/index.html
USING: sequences namespaces math math.vectors opengl opengl.gl
-arrays kernel random ui ui.gadgets ui.gadgets.canvas ui.render ;
+arrays kernel random ui ui.gadgets ui.gadgets.canvas ui.render
+math.order ;
IN: maze
: line-width 8 ;
combinators arrays words assocs parser namespaces definitions
prettyprint prettyprint.backend quotations arrays.lib
debugger io compiler.units kernel.private effects accessors
-hashtables sorting shuffle ;
+hashtables sorting shuffle math.order ;
IN: multi-methods
! PART I: Converting hook specializers
namespaces threads shuffle opengl arrays ui.gadgets.worlds\r
combinators math.parser ui.gadgets ui.render opengl.gl ui\r
continuations io.files hints combinators.lib sequences.lib\r
- io.encodings.binary debugger ;\r
+ io.encodings.binary debugger math.order ;\r
\r
IN: ogg.player\r
\r
-IN: optimizer.report\r
USING: assocs words sequences arrays compiler tools.time\r
io.styles io prettyprint vocabs kernel sorting generator\r
-optimizer math ;\r
+optimizer math math.order ;\r
+IN: optimizer.report\r
\r
: count-optimization-passes ( nodes n -- n )\r
>r optimize-1\r
-USING: kernel arrays sequences math qualified
+USING: kernel arrays sequences math math.order qualified
sequences.lib circular processing ui newfx ;
IN: processing.gallery.trails
: go ( -- ) [ go* ] with-ui ;
-MAIN: go
\ No newline at end of file
+MAIN: go
! Copyright (c) 2007 Samuel Tardieu, Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: calendar combinators kernel math math.ranges namespaces sequences
- sequences.lib ;
+ sequences.lib math.order ;
IN: project-euler.019
! http://projecteuler.net/index.php?section=problems&id=19
! Copyright (c) 2008 Eric Mertens
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs combinators kernel math sequences math.ranges locals ;
+USING: arrays assocs combinators kernel math sequences
+math.order math.ranges locals ;
IN: project-euler.076
! http://projecteuler.net/index.php?section=problems&id=76
! Copyright (c) 2008 Eric Mertens
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math splitting sequences ;
+USING: kernel math math.order splitting sequences ;
IN: project-euler.117
! Copyright (c) 2007 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel lazy-lists math.algebra math math.functions math.primes
- math.ranges project-euler.common sequences ;
+USING: arrays kernel lazy-lists math.algebra math math.functions
+ math.order math.primes math.ranges project-euler.common sequences ;
IN: project-euler.134
! http://projecteuler.net/index.php?section=problems&id=134
! Copyright (c) 2008 Eric Mertens
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math sequences sequences.private locals hints ;
+USING: kernel math math.order sequences sequences.private
+locals hints ;
IN: project-euler.150
<PRIVATE
! Copyright (c) 2008 Eric Mertens
! See http://factorcode.org/license.txt for BSD license.
-USING: sequences combinators kernel sequences.lib math assocs namespaces ;
+USING: sequences combinators kernel sequences.lib math math.order
+assocs namespaces ;
IN: project-euler.151
SYMBOL: table
USING: arrays kernel math math.functions math.miller-rabin math.matrices
- math.parser math.primes.factors math.ranges namespaces sequences
- sequences.lib sorting unicode.case ;
+ math.order math.parser math.primes.factors math.ranges namespaces
+ sequences sequences.lib sorting unicode.case ;
IN: project-euler.common
! A collection of words used by more than one Project Euler solution
USING: arrays combinators kernel lazy-lists math math.parser
namespaces parser parser-combinators parser-combinators.simple
-promises quotations sequences combinators.lib strings
+promises quotations sequences combinators.lib strings math.order
assocs prettyprint.backend memoize unicode.case unicode.categories ;
USE: io
IN: regexp
USING: assocs combinators.lib kernel math math.parser
namespaces peg unicode.case sequences unicode.categories
-memoize peg.parsers ;
+memoize peg.parsers math.order ;
USE: io
USE: tools.walker
IN: regexp2
USING: assocs math kernel shuffle combinators.lib\r
words quotations arrays combinators sequences math.vectors\r
io.styles prettyprint vocabs sorting io generic locals.private\r
-math.statistics ;\r
+math.statistics math.order ;\r
IN: reports.noise\r
\r
: badness ( word -- n )\r
USING: assocs words sequences arrays compiler tools.time\r
io.styles io prettyprint vocabs kernel sorting generator\r
-optimizer math ;\r
+optimizer math math.order ;\r
IN: report.optimizer\r
\r
: count-optimization-passes ( nodes n -- n )\r
! Copyright (C) 2007 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs kernel math math.vectors namespaces
+USING: arrays assocs kernel math math.order math.vectors namespaces
quotations sequences sequences.lib sequences.private strings unicode.case ;
IN: roman
! Copyright (C) 2006 Chris Double, Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-IN: rss
-USING: xml.utilities kernel assocs xml.generator
+USING: xml.utilities kernel assocs xml.generator math.order
strings sequences xml.data xml.writer
io.streams.string combinators xml xml.entities io.files io
http.client namespaces xml.generator hashtables
calendar.format accessors continuations ;
+IN: rss
: any-tag-named ( tag names -- tag-inside )
f -rot [ tag-named nip dup ] with find 2drop ;
USING: arrays assocs kernel math math.intervals namespaces
-sequences combinators.lib money ;
+sequences combinators.lib money math.order ;
IN: taxes
: monthly ( x -- y ) 12 / ;
! Copyright (C) 2007 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
USING: combinators kernel generic math math.functions math.parser
-namespaces io prettyprint.backend sequences trees assocs parser ;
+namespaces io prettyprint.backend sequences trees assocs parser
+math.order ;
IN: trees.avl
TUPLE: avl ;
! Copyright (c) 2005 Mackenzie Straight.
! See http://factorcode.org/license.txt for BSD license.
USING: arrays kernel math namespaces sequences assocs parser
-prettyprint.backend trees generic ;
+prettyprint.backend trees generic math.order ;
IN: trees.splay
TUPLE: splay ;
! See http://factorcode.org/license.txt for BSD license.
USING: kernel generic math sequences arrays io namespaces
prettyprint.private kernel.private assocs random combinators
-parser prettyprint.backend ;
+parser prettyprint.backend math.order ;
IN: trees
MIXIN: tree-mixin
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors sequences sorting locals math
+USING: kernel accessors sequences sorting locals math math.order
calendar alarms logging concurrency.combinators namespaces
sequences.lib db.types db.tuples db
rss xml.writer
-USING: sequences kernel namespaces splitting math ;
+USING: sequences kernel namespaces splitting math math.order ;
IN: wrap
! Very stupid word wrapping/line breaking
! Copyright (C) 2005, 2006 Eduardo Cavazos and Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types arrays hashtables io kernel math
-namespaces prettyprint sequences strings combinators x11.xlib ;
+math.order namespaces prettyprint sequences strings combinators
+x11.xlib ;
IN: x11.events
GENERIC: expose-event ( event window -- )
! Copyright (C) 2005, 2006 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-IN: xml-rpc
USING: kernel xml arrays math generic http.client combinators
hashtables namespaces io base64 sequences strings calendar
xml.data xml.writer xml.utilities assocs math.parser debugger
- calendar.format ;
+ calendar.format math.order ;
+IN: xml-rpc
! * Sending RPC requests
! TODO: time
! Copyright (C) 2005, 2007 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel sequences unicode.syntax math ;
+USING: kernel sequences unicode.syntax math math.order ;
IN: xml.char-classes
CATEGORY: 1.0name-start* Ll Lu Lo Lt Nl \u000559\u0006E5\u0006E6_ ;
! Copyright (C) 2006 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
USING: http.client xml xml.utilities kernel sequences
-namespaces http math.parser help ;
+namespaces http math.parser help math.order ;
IN: yahoo
TUPLE: result title url summary ;