Commit Graph

20 Commits (14b1418f6a0c76397d0030c548408c56b4031163)

Author SHA1 Message Date
John Benediktsson 75c6065a14 project-euler: removing unnecessary IN: in -tests. 2018-02-14 17:16:47 -08:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Slava Pestov ad6d8556e0 Change [0,b) usages to iota 2010-01-15 08:05:50 +13:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Aaron Schaefer e59e051c74 Use [0,b) and iota where appropriate 2009-05-01 22:26:49 -04:00
Aaron Schaefer 9981f6534f Use iota in Project Euler solutions 2009-05-01 20:46:25 -04:00
Aaron Schaefer e4ce05f73b Additional solution to PE problem 1 from IRC 2009-04-19 13:01:02 -04:00
Aaron Schaefer ca9fb1fcf1 Update usages of divisor? where appropriate 2009-04-01 21:53:18 -04:00
Aaron Schaefer 9d44708e1d Fix contains? -> any? rename issue 2009-04-01 18:43:45 -04:00
Aaron Schaefer fd6aba04a1 Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor: (113 commits)
  Round mouse co-ordinates
  Fix bunny deployment
  Fix site-watcher tests
  make multimethods tests pass
  make ecdsa unportable for now
  check pango-1.0
  cocoa.messages: cleanup
  Move synopsis* from definitions to see
  Faster PEG compile times; inline less, use execute( instead
  delete factor/ every time after a build is finished.  you can easily check it out by knowing the git-id
  Condomization wraps lambdas in condoms to protect them from macro-transmitted diseases. cond, case and other macros work better now if lambdas appear where quotations are expected
  Fixing compile errors, test failures and help lint failures
  Add a missing step to the tutorial.
  Add stack declarations to primitives during bootstrap now that ( is just a comment and won't affect HELP: anymore
  OpenSSL checksum => native implementation
  kernel doesn't need to depend on classes.tuple.private
  Remove useless declarations
  Fixing unit tests for syntax change
  tools.disassembler now uses udis on Windows
  Add promises unit tests
  ...

Conflicts:
	extra/project-euler/001/001.factor
2009-03-24 02:41:53 -04:00
Slava Pestov f995542246 Project Euler solutions had MAIN: words which would leave values on the stack; add a new SOLUTION: parsing word now that MAIN: cannot do that 2009-03-18 23:05:32 -05:00
Aaron Schaefer 89852b22d4 Add Project Euler solution for problem 1 from IRC 2008-12-16 22:43:22 -05:00
Aaron Schaefer 61db7d846b Switch zero? to 0 = where appropriate in PE solutions 2008-11-09 22:10:42 -05:00
Aaron Schaefer e763b5a335 Add unit tests for Project Euler 2008-11-04 01:04:03 -05:00
Aaron Schaefer 94a1ef8356 Alternative solution to Project Euler problem 1 2008-07-15 22:40:33 -04: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
Aaron Schaefer fcfb8fbedf add initial project-euler solutions and support vocabs 2007-12-18 20:57:16 -05:00