Commit Graph

275 Commits (e0408b9b10cde28bf1c201fbc0957a4012bc8ab4)

Author SHA1 Message Date
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Aaron Schaefer 779ebc3422 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-10 22:17:18 -05:00
Slava Pestov 17676efeaa Merge branch 'master' of git://factorcode.org/git/factor 2009-02-09 18:12:00 -06:00
Slava Pestov efc88c5b69 Remove nipd, 3nip, 4nip and tuckd from basis/shuffle 2009-02-09 18:11:42 -06:00
Daniel Ehrenberg 35b526cc7a Docs for lists, consolidating list functionality in lists, minor API changes 2009-02-09 14:29:09 -06:00
Aaron Schaefer f3082b6e5e Merge branch 'master' of git://factorcode.org/git/factor 2009-02-05 11:18:51 -05:00
slava e29f18a2f4 Trying to fix a bad merge...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"

This reverts commit da639739bd, reversing
changes made to 346a61f497.
2009-02-03 00:27:34 -06:00
Aaron Schaefer 3c02bcc065 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-01 18:33:03 -05:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Aaron Schaefer 52690f3088 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-22 17:43:53 -05:00
Slava Pestov ca2f01e0d0 Updating non-core libraries for monotonic? change 2009-01-16 17:02:54 -06:00
Aaron Schaefer 42c683875c Merge branch 'master' of git://factorcode.org/git/factor 2009-01-08 00:38:34 -05:00
Aaron Schaefer 51530700f4 Add number-length word and clean cartesian-product 2009-01-07 18:47:32 -05:00
Samuel Tardieu ca7ffd6ea2 Separate lazy lists from core primes number generation 2009-01-07 21:10:34 +01:00
Samuel Tardieu b96d2cca48 Add test for project Euler 157 2009-01-07 13:37:17 +01:00
Aaron Schaefer 6858b29796 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-31 12:43:33 -05:00
Samuel Tardieu 3fbb9f7081 Project Euler - problem 57 2008-12-27 21:46:01 +01:00
Samuel Tardieu 588dfd326e Change timing info on project-euler.010
The "math.primes" vocabulary now handles very easily primes up to
five millions.
2008-12-26 21:03:12 +01:00
Aaron Schaefer adac92dfa5 Remove roll from Project Euler problem 33 solution 2008-12-20 18:53:17 -05:00
Aaron Schaefer 9b6d4f05f5 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-18 21:34:45 -05:00
Slava Pestov cd5ae48670 Remove sequences.lib dependencies from project-euler.common and roman 2008-12-17 20:04:24 -06:00
Aaron Schaefer 89852b22d4 Add Project Euler solution for problem 1 from IRC 2008-12-16 22:43:22 -05:00
Slava Pestov c073a8b4f5 Fix more compile errors 2008-12-15 22:49:35 -06:00
Slava Pestov e0f86889c7 Fixing load-everything for io.files split 2008-12-15 01:13:35 -06:00
Doug Coleman 294b84b659 remove extra short definition 2008-12-06 18:41:13 -06:00
Aaron Schaefer 46911bc797 Add alternate solution to Project Euler problem #2 2008-12-02 00:46:38 -05:00
Aaron Schaefer 6333710f7d Fix ave-time considering switch to micro seconds 2008-11-24 22:05:43 -05:00
Aaron Schaefer 9a870b7760 Solution to Project Euler problem 50 2008-11-20 01:48:43 -05:00
Aaron Schaefer f8e86894a4 Minor Project Euler cleanup 2008-11-17 18:41:21 -05:00
Aaron Schaefer 72fea07526 Forgot to update project-euler.factor 2008-11-15 17:33:51 -05:00
Aaron Schaefer 3e00dc7f4e Solution to Project Euler problem 99 2008-11-15 17:26:00 -05:00
Aaron Schaefer 7898a9252d Cleanup PE solutions and formatting 2008-11-15 15:43:21 -05:00
Slava Pestov 66558ce584 Merge branch 'master' of git://projects.elasticdog.com/git/factor 2008-11-11 02:39:58 -06:00
Aaron Schaefer 8e155a8306 Cleanup formatting of Project Euler problem 215 2008-11-10 23:26:38 -05:00
Aaron Schaefer 05d991ab74 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 22:57:14 -05:00
Aaron Schaefer 3b204ff971 Solution to Project Euler problem 73 2008-11-10 22:56:37 -05:00
Eric Mertens 8ace93a75f add project-euler.203 2008-11-10 19:34:36 -08:00
Aaron Schaefer db7cbed3a5 Move ratio mediant word to project-euler.common 2008-11-10 12:51:43 -05:00
Aaron Schaefer 9be9538230 Update Project Euler using line 2008-11-10 12:38:01 -05:00
Eric Mertens 57af68f7ed add project-euler.215 2008-11-09 22:20:12 -08:00
Aaron Schaefer b04bc4d866 Solution to Project Euler problem 71 2008-11-10 00:58:43 -05:00
Aaron Schaefer 61db7d846b Switch zero? to 0 = where appropriate in PE solutions 2008-11-09 22:10:42 -05:00
Aaron Schaefer 531a9e32da Merge branch 'master' of git://factorcode.org/git/factor 2008-11-09 18:01:11 -05:00
Aaron Schaefer 2bd1723cc1 Rerun ave-time of PE #43 after constant space change 2008-11-07 01:25:18 -05:00
Doug Coleman 73f6691f75 print out clickable pathnames in project euler 2008-11-06 15:48:08 -06:00
Slava Pestov 666100a07b Tweak euler043 to run in constant space, add new each-permutation and reduce-permutations combinators to math.combinatorics 2008-11-06 11:07:19 -06:00
Aaron Schaefer 4d1d9b2087 Fix short circuit usage in Project Euler solutions 2008-11-06 01:41:24 -05:00
Aaron Schaefer 373c05ee49 Forgot to inline collect-benchmarks word 2008-11-05 19:24:19 -05:00
Aaron Schaefer b5b207a484 Add test files for all Project Euler solutions 2008-11-05 01:11:15 -05:00
Aaron Schaefer e763b5a335 Add unit tests for Project Euler 2008-11-04 01:04:03 -05:00
Aaron Schaefer e923ec16d3 Rewrite of collect-benchmarks in ave-time vocab 2008-11-03 22:56:32 -05:00
Aaron Schaefer 9d06315809 Clean up of common Project Euler code 2008-11-03 20:14:37 -05:00
Aaron Schaefer 9be67e7df7 Add meta data to Project Euler problem 186 2008-11-03 19:02:57 -05:00
Aaron Schaefer 9152b6d5f0 Cleanup of Project Euler problem 92 2008-11-03 18:25:50 -05:00
Aaron Schaefer 92e2ee3509 Clean up Projece Euler solutions 2008-11-03 16:20:36 -05:00
Aaron Schaefer 852c16a79b Fix sorting string equality issue in Project Euler 2008-10-31 01:35:37 -04:00
Aaron Schaefer 3127cfdddc Use clump instead of collect-consecutive in PE 2008-10-30 23:34:32 -04:00
Aaron Schaefer f2538d0156 Clean up Project Euler solutions 2008-10-30 22:04:44 -04:00
Doug Coleman 86cdfa3a4c remove lib usage, fix compile errors 2008-10-02 17:49:04 -05:00
Doug Coleman 6e7aa21cb5 dont use lib 2008-10-02 17:40:49 -05:00
Slava Pestov 379566374c Fix usages of nths 2008-09-12 18:15:22 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Aaron Schaefer fe24f3e82a Merge git://projects.elasticdog.com/git/factor into public
* git://projects.elasticdog.com/git/factor:
  Add standard deviation to output of ave-time benchmarking word
  Minor updates to standardize new Project Euler solutions
  Alternative solution to Project Euler problem 1

Conflicts:
	extra/project-euler/ave-time/ave-time.factor
2008-09-08 02:20:42 -04:00
Doug Coleman ad890e8a31 if-empty changes 2008-09-06 17:15:25 -05:00
Doug Coleman 89386ae636 left-trim -> trim-left 2008-09-05 18:56:57 -05:00
Doug Coleman 51db0d7e7d fix accessors 2008-09-02 13:01:20 -05:00
Doug Coleman acc3badbe7 new accessors 2008-09-02 12:36:51 -05:00
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