Commit Graph

437 Commits

Author SHA1 Message Date
Crista Lopes
ecac67b8df Merge branch 'master' of https://github.com/crista/exercises-in-programming-style 2013-12-01 08:01:17 -08:00
Crista Lopes
05c5aa9bc1 Tantrum is not tied to exceptions. Tantrum is the style of C programs. Remove the word exceptions out of the constraints. Make the example program exactly the same as the next. 2013-12-01 08:00:47 -08:00
crista
52208f78d8 Merge pull request #12 from aphyr/master
06-candy-factory: A straightforward Clojure solution.
2013-12-01 07:30:35 -08:00
Aphyr
a510b464c3 06-candy-factory: A straightforward Clojure solution. 2013-11-30 23:26:17 -08:00
crista
30eb880893 Update README.md
wording
2013-11-30 21:49:24 -08:00
crista
821d227705 Update README.md
Better wording on constraints
2013-11-30 21:47:21 -08:00
crista
58df511be7 Update README.md
Fixed wrong number
2013-11-30 21:43:35 -08:00
crista
b6ec4786b8 Update README.md
Better wording for constraints
2013-11-30 21:42:44 -08:00
Crista Lopes
c602dd9df3 More clean up 2013-11-30 19:20:09 -08:00
Crista Lopes
b363ea7e2f Clean up 2013-11-30 19:18:44 -08:00
Crista Lopes
9a9c525326 OK, so explaining the passive aggressive style with monadic exceptions in a language that already has exceptions does not work. Back to regular exceptions in style 23. I left the monadic version as an academically interesting variation. In the process of returning to basic exceptions, I needed to clarify the tantrum style a little better too. 2013-11-30 19:05:07 -08:00
Crista Lopes
76f7ccb1d3 Better wording for constraints 2013-11-30 16:50:25 -08:00
Crista Lopes
844dd21de2 Bring back the assertions, cos they throw and that's ok 2013-11-30 16:03:02 -08:00
Crista Lopes
cbfb524dd9 Better words for constraints of passive aggressive style 2013-11-30 11:03:52 -08:00
Crista Lopes
0b43231f64 Better passive aggressive style -- catch precondition failure too, and treat them all as annoying things that put us in a bad mood. 2013-11-30 10:54:06 -08:00
crista
4bb057128d Merge pull request #8 from krishnanraman/master
3 Scala versions for codegolf
2013-11-30 10:16:31 -08:00
Crista Lopes
3f382c9492 Added one more code golf version (actually renamed the previous one) 2013-11-30 10:14:45 -08:00
crista
768605e704 Merge pull request #11 from darius/master
Code golf rewrite and testing tweak
2013-11-30 10:12:32 -08:00
Crista Lopes
a49791750a Make the constructor take a func already 2013-11-29 20:38:35 -08:00
Darius Bacon
0ca3d85f5a Make Norvig's submission work with the test script. (It was skipped, plus it would fail without the #!.) 2013-11-29 20:59:41 -03:00
Darius Bacon
7168921e91 A shorter golfed version. 2013-11-29 20:57:17 -03:00
Crista Lopes
9e044337b0 top25_freqs wasn't IO either, so make it first class again. 2013-11-29 09:40:13 -08:00
Crista Lopes
572f4246fa Merge branch 'master' of https://github.com/crista/exercises-in-programming-style 2013-11-29 09:30:42 -08:00
Crista Lopes
aa6d965641 Better quarantine class. Allows for pure functions to be first-class [again]. 2013-11-29 09:30:25 -08:00
crista
9aceff09bd Update README.md
Gave example of command line interface
2013-11-28 21:22:42 -08:00
crista
b097639558 Update README.md
Renumbering
2013-11-28 21:12:34 -08:00
crista
13582e4dec Update README.md
Renumbering
2013-11-28 21:12:14 -08:00
Crista Lopes
86350f395c Added passive aggressive style 2013-11-28 21:11:05 -08:00
Crista Lopes
c132cf862e One more (hopefully the last!) renumbering 2013-11-28 20:54:31 -08:00
Crista Lopes
9c474d619f Simplified the quarantine style a little bit by merging some of the functions. 2013-11-28 19:31:18 -08:00
Crista Lopes
6e1e07e56f Removed unnecessary comma 2013-11-28 15:21:34 -08:00
Crista Lopes
9a4c833bc9 The One: reuse the same instance instead of creating a new one at every bind. 2013-11-28 13:57:56 -08:00
Crista Lopes
cc4182cf57 Fixed typo 2013-11-28 11:55:05 -08:00
Crista Lopes
0188e21f6a Added style #24, quarantine, inspired by IO Monad constraints 2013-11-28 11:54:14 -08:00
Crista Lopes
ebd303ac30 Renumbered a bunch of styles again to make room for one more. 2013-11-28 11:30:25 -08:00
Crista Lopes
2f9bc1c53d Better constraints for #09 2013-11-28 11:21:17 -08:00
Crista Lopes
e0cf163926 More cleanups on #09 2013-11-26 21:07:42 -08:00
Crista Lopes
c40f147473 Clea dust out of 09 2013-11-26 21:01:34 -08:00
Crista Lopes
190f8301d8 Fixed CPS (#08) to actually not return anything at the end of functions. 2013-11-25 11:27:34 -08:00
Crista Lopes
1ecf5392bd Deleted comments in style #08, cos they were actually wrong. 2013-11-25 10:45:12 -08:00
Crista Lopes
ac49dfa51a More recursion 2013-11-21 13:57:16 -08:00
Crista Lopes
0a51d9ac22 More inductive for infinite mirror 2013-11-20 15:40:56 -08:00
Crista Lopes
d9f9e841eb More renumbering 2013-11-19 18:15:58 -08:00
Crista Lopes
459f85e4f7 Renumbered styles to flow better 2013-11-18 17:15:42 -08:00
Crista Lopes
ad8a6f5791 Renumbered free-agents 2013-11-18 17:03:21 -08:00
Crista Lopes
5264099a59 Minor improvements to candy factory 2013-11-18 16:10:32 -08:00
Crista Lopes
189fbe305b Prettyfication 2013-11-18 14:04:37 -08:00
Crista Lopes
115ea31992 Typo 2013-11-18 13:24:02 -08:00
Crista Lopes
dfdec6b02e Minor cosmetic in code golf 2013-11-08 17:07:45 -08:00
Crista Lopes
14bebd7c46 Minor aesthetic details in go forth 2013-11-08 16:00:09 -08:00