Commit Graph

342 Commits (db42e128538f32bb3399f5469866d1b3553ecea3)

Author SHA1 Message Date
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -07:00
John Benediktsson ba3c232c65 project-euler.026: simplify, use coprime? from math.primes. 2015-05-13 14:46:59 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 76761b2e59 more minor cleanup. 2014-11-30 19:26:23 -08:00
John Benediktsson 818f337b02 cleanup "over push" is "suffix!". 2014-11-30 08:38:59 -08:00
Björn Lindqvist 8b09038e2f project-euler: [ + ] 2map -> v+ 2014-11-17 19:02:12 -08:00
John Benediktsson 760126525b basis/extra: fix using for map-index move back to sequences. 2014-11-11 18:00:44 -08:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
Björn Lindqvist 60ffe0680e kernel: new combinator 2with = with with 2014-07-22 07:40:13 -07:00
Doug Coleman 875e45a640 sequences: Add some short useful factors. Clean up the use of longest. 2013-03-11 17:47:52 -07:00
John Benediktsson 351ae54366 project-euler.150: bit faster with inline. 2012-09-28 19:21:23 -07:00
Jon Harper 8030432541 1string string>number -> digit> 2012-08-04 17:32:33 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 7bba1972a1 project-euler: fix shadowing of permutations?. 2012-04-26 16:58:09 -07:00
John Benediktsson f3e1dc5b98 Use "map-sum" instead of "map sum". 2012-04-25 13:18:21 -07:00
John Benediktsson 817b45ee03 math.combinatorics: minor performance improvements. 2012-04-24 18:42:34 -07:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -07:00
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
John Benediktsson 4919339721 project-euler.150: 20% faster. 2011-10-16 21:21:07 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Doug Coleman 1179eefefa Minor typo in euler 006 2010-10-08 06:34:20 -07:00
Doug Coleman 01e14d1430 Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Doug Coleman 39013d1373 Fix using list for keys/values change 2010-05-21 12:48:06 -05:00
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Daniel Ehrenberg 1da6ea957a Fixing bugs with sets, including adding new within and without words 2010-03-16 20:17:26 -04:00
Daniel Ehrenberg 512fe14e4e Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:

	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Joe Groff 8687a7e283 Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism 2010-03-12 14:36:13 -08:00
Slava Pestov 9c3b94519d project-euler.206: reduce memory usage 2010-03-12 16:45:31 +13:00
Joe Groff f24a74f66c Merge branch 'master' into row-polymorphism 2010-03-10 11:48:41 -08:00
Joe Groff e7968ceffc mop up compiler errors from macosx load-all 2010-03-09 00:56:07 -08:00
Samuel Tardieu bda1c97d21 Project Euler : problem 265 2010-03-08 18:35:30 +01:00
Daniel Ehrenberg da57436180 Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
Daniel Ehrenberg 6298203b4c Making all of basis and extra unambiguous for sets/namespaces 2010-02-26 16:28:38 -05:00
Slava Pestov 7826543d2e sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase 2010-02-25 20:54:57 +13:00
Aaron Schaefer 5ea289eacd clean up PE solution 255 2010-02-20 11:20:21 -06:00
Aaron Schaefer 6cc9348dfa Add PE problem 70 to common project file 2010-02-20 09:16:53 -06:00
Aaron Schaefer d0f4239d58 Solution to Project Euler problem 70 2010-02-20 09:15:05 -06:00
Aaron Schaefer 3f53d189fe update project-euler common files 2010-02-18 20:46:18 -06:00
Aaron Schaefer 02d868dabe Solution to Project Euler problem 206 2010-02-17 22:25:53 -06:00
Aaron Schaefer 7e6479cd36 collect-benchmarks needs to convert from nano not micro 2010-02-14 15:59:18 -06:00
Slava Pestov ad6d8556e0 Change [0,b) usages to iota 2010-01-15 08:05:50 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Doug Coleman 7f1a643de2 fix project euler 54 2009-12-07 18:24:57 -06:00
Doug Coleman a94774f8e8 add circular-while, optimize circular a bit 2009-12-06 17:20:46 -06:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 70b10a28d6 Merge branch 'master' of git://github.com/killy971/factor 2009-11-09 01:01:51 -06:00
Slava Pestov fb3d49ab7d project-euler.ave-time: fix ave-time combinator to infer with new, stricter stack checking regime, and add unit tests 2009-11-09 00:54:59 -06:00
Doug Coleman 9e939a4dad solved project euler 089 ftw 2009-11-06 01:49:33 -06:00