Commit Graph

208 Commits (5fbfc1acf1ad56959d342bb2b1f73a464ed5f4c5)

Author SHA1 Message Date
Aaron Schaefer d986b30eb6 Add standard deviation to output of ave-time benchmarking word 2008-07-27 17:46:43 -04:00
Slava Pestov bba0ff79c5 Fix load error in project-euler 2008-07-24 02:32:40 -05:00
Aaron Schaefer c9a1c0a02f Merge branch 'master' of git://factorcode.org/git/factor 2008-07-20 21:55:09 -04:00
Aaron Schaefer a4efa8cb08 Minor updates to standardize new Project Euler solutions 2008-07-20 21:52:39 -04:00
Slava Pestov 71638e6340 Update project-euler.186 for disjoint-sets API change 2008-07-20 04:05:00 -05:00
Slava Pestov 96b5c674ab Use unzip 2008-07-20 01:13:46 -05:00
Slava Pestov 7577ffd5eb Rename disjoint-set vocab to disjoint-sets 2008-07-20 01:11:34 -05:00
Aaron Schaefer 94a1ef8356 Alternative solution to Project Euler problem 1 2008-07-15 22:40:33 -04:00
Slava Pestov 5d9c1ea0a0 Documentation updates, rename unfold to produce 2008-07-10 01:00:27 -05:00
Eduardo Cavazos a192c08793 project-euler: sigma and count moved into sequences 2008-07-03 15:34:58 -05:00
U-SLAVA-DFB8FF805\Slava 358c09d204 combinators.lib 3apply is kernel's tri@; remove and update usages 2008-06-27 02:17:19 -05:00
Eduardo Cavazos bf238283da Update code for combinators.short-circuit 2008-06-24 13:47:54 -05:00
Slava Pestov 045b657474 Move replicate into core; move selection sort into its own vocab; remove usages of and? and or? which are redundant now 2008-06-13 01:51:46 -05:00
Eduardo Cavazos bdd66927fc More short-circuit updates 2008-06-10 20:42:55 -05:00
Slava Pestov 29fa4a8a54 assoc-find is no longer generic 2008-06-09 05:22:21 -05:00
James Cash 0ca627051e Changing vocabs USING: to reflect which words are in lists and lists.lazy 2008-06-03 16:57:29 -04:00
James Cash 10e5c074d9 Fix for changed effect of uncons 2008-06-03 05:18:36 -04:00
James Cash 8d4de9d9ed Some files only need lists.lazy, not lists as well 2008-06-03 04:41:36 -04:00
James Cash 1818a743bd Updating libraries that uses lazy-lists to use lists/lazy 2008-06-03 04:27:25 -04:00
Doug Coleman f706b50ac7 remove dipd, it's 2dip 2008-05-23 22:48:58 -05:00
Slava Pestov 1d60d722fe Improve time word, faster card scan 2008-05-07 17:42:41 -05:00
Doug Coleman fd531c1a31 rename butlast to but-last 2008-05-07 01:38:34 -05:00
Doug Coleman 7c09936f30 use butlast, butlast-slice
"extra/foo" resource-path -> "resource:extra/foo"
2008-05-06 12:37:11 -05:00
Doug Coleman 439c138aa5 fix load errors 2008-04-26 11:03:41 -05:00
Doug Coleman 4d0ba8c3c1 reverse args for assoc-diff, diff
fix lots of usings
fix help lint
2008-04-26 02:01:43 -05:00
Doug Coleman b7c1f9dbe8 extra changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:17:08 -05:00
Eric Mertens 57a15fb363 Add project-euler.100 2008-04-24 09:50:33 -07:00
Eric Mertens 916ed96ffb Add project-euler.151 2008-04-24 09:50:33 -07:00
Eric Mertens 4fdfb97a4d Add project-euler.190 2008-04-21 23:40:35 -07:00
Eric Mertens fbe7fb58dd Add project-euler.148 2008-04-20 00:12:36 -07:00
Slava Pestov 7faa9a8312 Oops 2008-04-19 04:52:50 -05:00
Slava Pestov 625d4037fe Minor tweak to project-euler 2008-04-17 12:22:04 -05:00
Eric Mertens a25c7e1842 Improve project-euler.150 2008-04-16 10:30:03 -07:00
Eric Mertens 3483317cfb Add project-euler.150 2008-04-16 02:25:38 -07:00
Eric Mertens 303f9a3450 Add project-euler.116 2008-04-16 00:04:05 -07:00
Eric Mertens 2bdcba5731 Add solution for project-euler.117 2008-04-15 23:09:23 -07:00
Eric Mertens 8d0fdd3651 Add project-euler solution no. 76 2008-04-15 22:28:26 -07:00
Eric Mertens 9f46b534e9 export <blum-blum-shub> in random.blum-blum-shub 2008-04-15 22:28:20 -07:00
Eric Mertens 1ef0042f6a Add a solution to project-euler.164 2008-04-14 20:35:33 -07:00
Doug Coleman 7917da4279 fix compile error 2008-04-14 02:43:00 -05:00
Doug Coleman f64d511ca6 add usings 2008-04-14 02:40:32 -05:00
Doug Coleman f80085ff0a seq-diff -> diff
seq-intersect -> intersect
2008-04-13 23:09:42 -05:00
Eric Mertens f881ec0109 move unionfind to disjoint-set, clean-ups, add project-euler 186
problem 186 uses the disjoint-set algorithm
2008-04-13 03:33:49 -07:00
Doug Coleman 484f765566 case/cond 2008-04-11 12:57:43 -05:00
Samuel Tardieu dcc28cd0f8 Fix bug in project-euler.169 introduced by a former checkin 2008-04-04 12:48:36 +02:00
Samuel Tardieu fe8448b4e8 Use more combinators 2008-04-04 11:20:10 +02:00
Eduardo Cavazos aa40350aa7 replace add* and add with prefix and suffix 2008-03-31 18:18:05 -06:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Slava Pestov 1f3e6fd0b7 combinators.cleave is now core 2008-03-28 23:00:20 -05:00
erg 15c68a23f8 remove ?resource-path and resource-exists? 2008-03-26 23:47:51 -05:00
Doug Coleman 3e7940216e swap append to swap append
refactoring path+ to append-path
swap path+ to prepend-path
calendar gmt-offset to duration
2008-03-19 19:15:32 -05:00
Aaron Schaefer b204473c8f Solution to Project Euler problem 59 2008-03-07 21:38:16 -05:00
Aaron Schaefer 5aedba482e Fix encoding specification for Project Euler problem 22 2008-03-06 21:46:25 -05:00
Aaron Schaefer 82cb257118 Merge branch 'master' of git://factorcode.org/git/factor 2008-03-06 21:12:36 -05:00
Aaron Schaefer 5c62133688 Merge branch 'master' of git://factorcode.org/git/factor 2008-02-29 14:43:55 -05:00
Daniel Ehrenberg efb3367c45 Merge branch 'master' of git://factorcode.org/git/factor into unicode
Conflicts:

	core/io/files/files-docs.factor
	core/io/files/files-tests.factor
	core/io/files/files.factor
	core/listener/listener.factor
	extra/benchmark/sum-file/sum-file.factor
	extra/bootstrap/image/upload/upload.factor
	extra/http/server/templating/templating.factor
	extra/logging/server/server.factor
	extra/smtp/smtp.factor
	extra/tools/deploy/macosx/macosx.factor
	extra/tools/disassembler/disassembler.factor
	extra/webapps/file/file.factor
2008-02-29 01:20:44 -06:00
Slava Pestov 00ae763351 Final calendar cleanup 2008-02-26 20:03:35 -06:00
Slava Pestov ef53dbd1b9 Fix load-everything 2008-02-26 19:18:21 -06:00
Daniel Ehrenberg 62f9ed5dbd putting encodings on all file readers/writers 2008-02-16 22:17:41 -06:00
Aaron Schaefer 24f5c9e40d Tweak Project Euler solutions to use existing words 2008-02-12 23:31:10 -05:00
Aaron Schaefer 84901e6dbc Solution to Project Euler problem 47 2008-02-12 23:02:33 -05:00
Aaron Schaefer 7361ee58a8 Fix Project Euler solutions using combinators.lib stuff that moved 2008-02-11 15:14:56 -05:00
Aaron Schaefer 67607467b5 Solution to Project Euler problem 46 2008-02-10 22:11:31 -05:00
Aaron Schaefer 9c2218a1c4 Update solution to Project Euler problem 92 2008-02-09 22:40:18 -05:00
Aaron Schaefer a34c5aabed Slow solution to Project Euler problem 92 2008-02-09 22:13:01 -05:00
Aaron Schaefer 96853249a4 Use tri instead of repeated keeps for PE solutions 2008-02-09 19:54:31 -05:00
Aaron Schaefer 5aca313896 Solution to Project Euler problem 55 2008-02-08 22:29:12 -05:00
Aaron Schaefer 3ccc624dd4 Solution to Project Euler problem 56 2008-02-08 21:17:45 -05:00
Aaron Schaefer 751b013e2b Project Euler solution simplification 2008-02-08 20:43:44 -05:00
Aaron Schaefer d206ff9067 Solution to Project Euler problem 45 2008-02-08 19:28:30 -05:00
Aaron Schaefer b8dfb89771 Solution to Project Euler problem 53 2008-02-08 17:27:42 -05:00
Aaron Schaefer 741d3df68a Fix PE solutions using old math.parser 2008-02-07 20:25:03 -05:00
Slava Pestov ba467a39c4 Fix conflict 2008-02-07 18:57:23 -06:00
Aaron Schaefer 4dfc151c89 Solution to Project Euler problem 79 2008-02-07 19:48:00 -05:00
Slava Pestov 2541c62e29 Fix code for math.parser changes 2008-02-06 21:15:47 -06:00
Aaron Schaefer d27ae06708 Solution to Project Euler problem 44 2008-02-06 00:53:18 -05:00
Aaron Schaefer c68e70877d Solution to Project Euler problem 43 2008-02-05 16:42:50 -05:00
Aaron Schaefer 09f40aa17e Add missing dependency for Project Euler 42 2008-02-04 01:49:31 -05:00
Aaron Schaefer 84ee9b159a Solution to Project Euler problem 97 2008-02-04 01:40:47 -05:00
Aaron Schaefer e36bddd91c Solution to Project Euler problem 52 2008-02-03 22:11:31 -05:00
Aaron Schaefer c64fe3d07b Solution to Project Euler problem 42 2008-02-03 18:42:45 -05:00
Aaron Schaefer 170d8d8c51 Fix common Project Euler word alpha-num 2008-02-03 17:18:10 -05:00
Aaron Schaefer 4a0bb3b032 Solution to Project Euler problem 41 2008-02-03 16:15:03 -05:00
Aaron Schaefer 1954114d85 Solution to Project Euler problem 48 2008-02-02 19:42:47 -05:00
Aaron Schaefer ac10c4067a Better method for getting last digits of an integer 2008-02-02 19:31:55 -05:00
Aaron Schaefer 557bde6206 Solution to Project Euler problem 40 2008-02-02 18:53:32 -05:00
Aaron Schaefer 8b207d1f48 Solution to Project Euler problem 75 2008-02-02 17:22:20 -05:00
Aaron Schaefer a0dad18f4f Solution to Project Euler problem 39 2008-02-02 13:37:53 -05:00
Aaron Schaefer d23753786e Merge git://factorcode.org/git/factor 2008-02-01 21:40:42 -05:00
Eduardo Cavazos bff385269c Lot's of USING: fixes for ascii or unicode 2008-02-01 18:26:32 -06:00
Aaron Schaefer e37f2101c6 Solution to Project Euler problem 38 2008-02-01 14:45:29 -05:00
Aaron Schaefer 6394eb70bf Solution to Project Euler problem 37 2008-01-30 00:50:18 -05:00
Aaron Schaefer f86f36794f Solution to Project Euler problem 36 2008-01-29 13:31:06 -05:00
Aaron Schaefer 7b74afd043 Solution to Project Euler problem 35 2008-01-29 12:39:25 -05:00
Aaron Schaefer 38bc7d7f75 Solution to Project Euler problem 34 2008-01-28 03:37:14 -05:00
Aaron Schaefer 840c401cb5 Solution to Project Euler problem 33 2008-01-28 02:19:04 -05:00
Aaron Schaefer 5da9faa71c Update math.combinatorics dependencies in PE solutions 2008-01-27 20:09:31 -05:00
Aaron Schaefer 6df78419b9 Fix uses of new math constants 2008-01-24 18:18:12 -05:00
Aaron Schaefer cd92504288 Fix copyright date on PE solutions after the new year 2008-01-22 17:02:02 -05:00
Aaron Schaefer 7fbee3e810 Solutions to Project Euler problem 32 2008-01-22 00:08:27 -05:00