This website requires JavaScript.
0ca3d85f5a
Make Norvig's submission work with the test script. (It was skipped, plus it would fail without the #!.)
Darius Bacon
2013-11-29 20:59:41 -03:00
7168921e91
A shorter golfed version.
Darius Bacon
2013-11-29 20:57:17 -03:00
9e044337b0
top25_freqs wasn't IO either, so make it first class again.
Crista Lopes
2013-11-29 09:40:13 -08:00
572f4246fa
Merge branch 'master' of https://github.com/crista/exercises-in-programming-style
Crista Lopes
2013-11-29 09:30:42 -08:00
aa6d965641
Better quarantine class. Allows for pure functions to be first-class [again].
Crista Lopes
2013-11-29 09:30:25 -08:00
9aceff09bd
Update README.md
crista
2013-11-28 21:22:42 -08:00
b097639558
Update README.md
crista
2013-11-28 21:12:34 -08:00
13582e4dec
Update README.md
crista
2013-11-28 21:12:14 -08:00
86350f395c
Added passive aggressive style
Crista Lopes
2013-11-28 21:11:05 -08:00
c132cf862e
One more (hopefully the last!) renumbering
Crista Lopes
2013-11-28 20:54:31 -08:00
9c474d619f
Simplified the quarantine style a little bit by merging some of the functions.
Crista Lopes
2013-11-28 19:31:18 -08:00
6e1e07e56f
Removed unnecessary comma
Crista Lopes
2013-11-28 15:21:34 -08:00
9a4c833bc9
The One: reuse the same instance instead of creating a new one at every bind.
Crista Lopes
2013-11-28 13:57:56 -08:00
cc4182cf57
Fixed typo
Crista Lopes
2013-11-28 11:55:05 -08:00
0188e21f6a
Added style #24 , quarantine, inspired by IO Monad constraints
Crista Lopes
2013-11-28 11:54:14 -08:00
ebd303ac30
Renumbered a bunch of styles again to make room for one more.
Crista Lopes
2013-11-28 11:30:25 -08:00
2f9bc1c53d
Better constraints for #09
Crista Lopes
2013-11-28 11:21:17 -08:00
e0cf163926
More cleanups on #09
Crista Lopes
2013-11-26 21:07:42 -08:00
c40f147473
Clea dust out of 09
Crista Lopes
2013-11-26 21:01:34 -08:00
190f8301d8
Fixed CPS (#08 ) to actually not return anything at the end of functions.
Crista Lopes
2013-11-25 11:27:34 -08:00
1ecf5392bd
Deleted comments in style #08 , cos they were actually wrong.
Crista Lopes
2013-11-25 10:45:12 -08:00
ac49dfa51a
More recursion
Crista Lopes
2013-11-21 13:57:16 -08:00
0a51d9ac22
More inductive for infinite mirror
Crista Lopes
2013-11-20 15:40:56 -08:00
d9f9e841eb
More renumbering
Crista Lopes
2013-11-19 18:15:58 -08:00
459f85e4f7
Renumbered styles to flow better
Crista Lopes
2013-11-18 17:15:42 -08:00
ad8a6f5791
Renumbered free-agents
Crista Lopes
2013-11-18 17:03:21 -08:00
5264099a59
Minor improvements to candy factory
Crista Lopes
2013-11-18 16:10:32 -08:00
189fbe305b
Prettyfication
Crista Lopes
2013-11-18 14:04:37 -08:00
115ea31992
Typo
Crista Lopes
2013-11-18 13:24:02 -08:00
dfdec6b02e
Minor cosmetic in code golf
Crista Lopes
2013-11-08 17:07:45 -08:00
14bebd7c46
Minor aesthetic details in go forth
Crista Lopes
2013-11-08 16:00:09 -08:00
20b925d954
I'm liking loops in Forth.
Crista Lopes
2013-11-07 16:43:35 -08:00
b52c783b32
More forthism
Crista Lopes
2013-11-07 16:31:42 -08:00
6cf223bb07
More forthism
Crista Lopes
2013-11-07 15:20:56 -08:00
182f80f4b8
Removed left-over comment
Crista Lopes
2013-11-07 13:48:04 -08:00
560f14834b
More forthish
Crista Lopes
2013-11-07 13:37:24 -08:00
0707ba6a64
More improvements to forth style
Crista Lopes
2013-11-07 13:00:28 -08:00
e5e5805e7c
Improved forth style
Crista Lopes
2013-11-07 12:56:24 -08:00
c88a0844ad
Improvements to forth style
Crista Lopes
2013-11-06 10:13:41 -08:00
912864de95
More clean up of comments / formatting for style 01
Crista Lopes
2013-11-04 09:15:29 -08:00
8f32eba166
More comments in style 01
Crista Lopes
2013-11-03 10:11:40 -08:00
1c729d9d63
Added a lot more comments to style 01
Crista Lopes
2013-11-03 10:10:46 -08:00
3af7744d5d
Minor improvements to 01
Crista Lopes
2013-11-02 09:36:43 -07:00
48b461fce0
Better version of style 02
Crista Lopes
2013-10-25 17:18:28 -07:00
1cab191e8e
Merge branch 'master' of https://github.com/crista/exercises-in-programming-style
Crista Lopes
2013-10-25 16:52:07 -07:00
1975d74b73
Exec mode for new files
Crista Lopes
2013-10-25 16:51:23 -07:00
f784f3c9a2
Fixed a couple of Windows-only issues related to writing to the intermediate file
Crista Lopes
2013-10-25 16:50:10 -07:00
089239d939
Merge branch 'master' of https://github.com/crista/exercises-in-programming-style
Crista Lopes
2013-10-25 16:24:26 -07:00
2f6d85111b
Added forth.py, an interpreter of Forth in Python written by Chris Meyers and available from http://openbookproject.net/py4fun/forth/forth.html . Great for exercises about this style.
Crista Lopes
2013-10-25 16:23:58 -07:00
8b5fbdc77a
Changed the name of the 02 folder to reflect the name of the style
Crista Lopes
2013-10-25 16:22:18 -07:00
6de104653d
Added go-forth style
Crista Lopes
2013-10-25 16:20:16 -07:00
b6da79e952
Exec perms fixed for new styles
Crista Lopes
2013-10-23 11:39:17 -07:00
45f94d4b14
Added free agents style
Crista Lopes
2013-10-23 11:19:12 -07:00
6df2dbb552
Better mvc
Crista Lopes
2013-10-22 08:32:14 -07:00
4576b3c5e8
Better spreadsheet style, more uniform across columns
Crista Lopes
2013-10-21 19:21:40 -07:00
5cde2691ea
Added spreadsheet style
Crista Lopes
2013-10-21 17:07:36 -07:00
1ae2f4e1c0
Added trinity style
Crista Lopes
2013-10-21 13:42:26 -07:00
0f3bb8bb5b
moved 2 files to the-one
krishnanraman
2013-10-21 11:32:42 -07:00
83a092593b
Fixed mode exec for tf-19.py
Cristina Lopes
2013-10-18 17:23:21 -07:00
268b4a7961
Merge branch 'master' of https://github.com/crista/exercises-in-programming-style
Crista Lopes
2013-10-18 17:21:52 -07:00
8c94fae644
Added README.md for style #19
Crista Lopes
2013-10-18 17:21:27 -07:00
2edb91012a
Changed the name of style 19 from plugins to "no commitment"
Crista Lopes
2013-10-18 17:18:42 -07:00
752bb35c02
Added plugins style
Crista Lopes
2013-10-18 16:59:09 -07:00
41c5687383
Changed permissions on new python files
Cristina Lopes
2013-10-18 08:39:56 -07:00
d01a224ae9
Moved a get_input to util. Fixed method stop
Crista Lopes
2013-10-17 21:24:10 -07:00
d9ff0f84bd
Better reactive -- lock properly, remove unused arguments, send "end" to deamon thread
Crista Lopes
2013-10-17 21:14:17 -07:00
f491a9f722
Changed name of variable, so that it doesn't get confused with terminology used in constraints
Crista Lopes
2013-10-17 20:35:27 -07:00
745083aca0
Merge branch 'master' of https://github.com/crista/exercises-in-programming-style
Crista Lopes
2013-10-17 20:30:54 -07:00
ecfeb0019c
Better version of reactive style. Added README.md
Crista Lopes
2013-10-17 20:30:30 -07:00
a9ec3715f9
First version of the reactive style. Still needs work.
Crista Lopes
2013-10-17 18:32:18 -07:00
aaa7088dbd
Update README.md
crista
2013-10-16 21:26:47 -07:00
40637fdc9b
Added lazy rivers style
Crista Lopes
2013-10-16 21:25:43 -07:00
25b681a275
Added dataspaces style
Crista Lopes
2013-10-15 16:29:32 -07:00
b909a80184
fastest implementation so far at 0.9sec
krishnanraman
2013-10-14 20:50:14 -07:00
739371b881
Scala versions for codegolf
krishnanraman
2013-10-14 15:53:05 -07:00
954d6d2475
Scala versions for codegolg
krishnanraman
2013-10-14 15:52:34 -07:00
c19f6d4263
Added README.md for style #07
Crista Lopes
2013-10-14 08:32:22 -07:00
46536c18e5
Added infinite mirror style
Crista Lopes
2013-10-13 20:47:33 -07:00
2d25c24164
Merge pull request #7 from jedelbo/master
crista
2013-10-08 20:58:49 -07:00
6148cff95e
Added C++ implementation of 06-candy-factory.
Joergen Edelbo
2013-10-08 16:26:03 +02:00
01446cf881
Merge branch 'master' of https://github.com/crista/exercises-in-programming-style
Crista Lopes
2013-10-07 14:57:51 -07:00
872eabffdb
I just broke my rules about not adding more than one program in one language, but this code has gotta go in: contribution by Peter Norvig via email. Thank you!
Crista Lopes
2013-10-07 14:57:15 -07:00
af5af767f8
Update README.md
crista
2013-09-30 14:14:31 -07:00
d5557a8e92
Update README.md
crista
2013-09-30 07:33:12 -07:00
7dcafa583e
Update README.md
crista
2013-09-30 07:32:48 -07:00
42019f8f44
Added good-old-times style, #1
Crista Lopes
2013-09-30 07:30:33 -07:00
fd2741fcca
Merge pull request #6 from jmaccabe/master
crista
2013-09-28 05:08:00 -07:00
ac01772b18
Remove cruft
jmaccabe
2013-09-28 04:14:02 -04:00
71a73673ac
Marking executable
jmaccabe
2013-09-28 04:11:14 -04:00
6fac456bf7
Another autorun
jmaccabe
2013-09-28 04:05:31 -04:00
30b22f3db8
More test suite tweaks
jmaccabe
2013-09-28 03:41:29 -04:00
69e590b851
Autorun for test expecting input
jmaccabe
2013-09-28 03:31:56 -04:00
c180b16495
Added metrics
jmaccabe
2013-09-28 03:28:47 -04:00
9b2b5af7a5
Update README.md
crista
2013-09-27 20:16:43 -07:00
220044a908
Update README.md
crista
2013-09-27 20:16:24 -07:00
700a3e2b47
Update README.md
crista
2013-09-27 20:15:54 -07:00
7ff28fe635
Update README.md
crista
2013-09-27 20:15:38 -07:00
5d6b83dc76
Update README.md
crista
2013-09-27 20:15:17 -07:00
6c9507cdeb
Update README.md
crista
2013-09-27 20:14:56 -07:00
6de6a7fa85
Update README.md
crista
2013-09-27 20:14:38 -07:00