]> gitweb.factorcode.org Git - factor.git/commitdiff
Merge branch 'master' of git://factorcode.org/git/factor
authorAaron Schaefer <aaron@elasticdog.com>
Tue, 24 Mar 2009 06:41:53 +0000 (02:41 -0400)
committerAaron Schaefer <aaron@elasticdog.com>
Tue, 24 Mar 2009 06:41:53 +0000 (02:41 -0400)
* '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

1  2 
extra/project-euler/001/001.factor
extra/project-euler/033/033.factor
extra/project-euler/common/common.factor

index c9145c9b73368eb0b8fb3ee5635ef282e4f85b48,de4345db689e8f3dfc5b5b395c007a46c20f5042..17f8d0386d80dbbb591530f0892f041ae7eb709f
@@@ -1,6 -1,6 +1,6 @@@
 -! Copyright (c) 2007 Aaron Schaefer.
 +! Copyright (c) 2007, 2008 Aaron Schaefer, Slava Pestov.
  ! See http://factorcode.org/license.txt for BSD license.
- USING: kernel math math.ranges sequences ;
+ USING: kernel math math.ranges sequences project-euler.common ;
  IN: project-euler.001
  
  ! http://projecteuler.net/index.php?section=problems&id=1
@@@ -51,11 -51,4 +51,11 @@@ PRIVATE
  ! [ euler001b ] 100 ave-time
  ! 0 ms run / 0 ms GC ave time - 100 trials
  
- MAIN: euler001
 +
 +: euler001c ( -- answer )
 +    1000 [ { 3 5 } [ mod 0 = ] with contains? ] filter sum ;
 +
 +! [ euler001c ] 100 ave-time
 +! 0 ms ave run time - 0.06 SD (100 trials)
 +
+ SOLUTION: euler001
Simple merge