User contributions for WillNess
10 May 2023
- 06:4206:42, 10 May 2023 diff hist +135 Jensen's Device →Haskell: Use `do` instead of operators, so it's not _completely_ inaccessible for outsiders
24 March 2023
- 16:1916:19, 24 March 2023 diff hist +533 Sieve of Eratosthenes →Immutable arrays, by segments: +sub_section "as list comprehension"
24 January 2023
- 00:2800:28, 24 January 2023 diff hist +272 Hamming numbers →"Cyclical Iterators": upd: since 3.6 the tee() is efficient, sharing
23 April 2022
- 07:1307:13, 23 April 2022 diff hist +35 Hamming numbers edit related tasks; some small c/e in Haskell
22 April 2022
- 05:5105:51, 22 April 2022 diff hist +239 Hamming numbers →Explicit multiples reinserting: explicitly show the empirical orders of growth for the leftover queue
21 January 2022
- 17:4917:49, 21 January 2022 diff hist −11 Sieve of Eratosthenes →Tree-merging incremental sieve: no primed names please -- the highlighting is horrendous with those
27 November 2021
- 10:4810:48, 27 November 2021 diff hist +44 Sieve of Eratosthenes →Bounded sieve: name the subsection
- 10:4510:45, 27 November 2021 diff hist +8 Sieve of Eratosthenes →Bounded sieve: upd link to the SWISH entry
- 10:3610:36, 27 November 2021 diff hist +2 m Sieve of Eratosthenes →Bounded sieve: cosmetic change
- 10:3410:34, 27 November 2021 diff hist +160 Sieve of Eratosthenes →Bounded sieve: +link to SWISH entry
- 10:2810:28, 27 November 2021 diff hist +220 Sieve of Eratosthenes →Bounded sieve: +cmts, var names
- 04:2004:20, 27 November 2021 diff hist +500 Sieve of Eratosthenes →Bounded sieve: +C&M p175++
3 February 2021
- 08:1308:13, 3 February 2021 diff hist 0 Hamming numbers →Direct calculation through triples enumeration: the blog also by me as well as the code here
- 08:0908:09, 3 February 2021 diff hist +33 Hamming numbers →Enumeration by a chain of folded merges: align code better
13 May 2020
- 20:1520:15, 13 May 2020 diff hist +226 Talk:Hamming numbers →Original DrDobbs blog discussion: the DDJ link not dead anymore current
- 16:4716:47, 13 May 2020 diff hist +7 Hamming numbers →The classic version: c/e
9 May 2020
- 14:4614:46, 9 May 2020 diff hist 0 Hamming numbers →{{header|Racket}}: syntax highlighting as "scheme" ("racket" does absolutely nothing)
- 14:4314:43, 9 May 2020 diff hist +58 Hamming numbers →{{header|Racket}}: tweak no-dups code for simplicity, using foldr instead of stream-fold for more apparent ordering
- 00:3000:30, 9 May 2020 diff hist −18 Sieve of Eratosthenes →Tree-merging incremental sieve: promote improved wheels to sub-section. NB the language highlighting with primed names is pretty bad!
- 00:2600:26, 9 May 2020 diff hist −2 Sieve of Eratosthenes →Tree-merging incremental sieve: increase the sub-section level
- 00:1000:10, 9 May 2020 diff hist −325 Sieve of Eratosthenes →With Wheel: A. comment is not code. B. Rosetta Code is for simple and illuminating codes first. we _add_ the better performant (and very long) ones, not replace.
22 March 2020
- 23:5723:57, 22 March 2020 diff hist +9 Talk:Hamming numbers →Original DrDobbs blog discussion: typos
- 22:5222:52, 22 March 2020 diff hist −22 Hamming numbers →Direct calculation through triples enumeration: remove the OPTIONS_HC -O2 pragma. it's distracting, superfluous, obvious, always used anyway; appears in the linked Ideone entry.
- 22:4822:48, 22 March 2020 diff hist −10 Hamming numbers →Direct calculation through triples enumeration: restore previous ideone link (edited to use Int now)
- 21:5421:54, 22 March 2020 diff hist −15 Hamming numbers →Direct calculation through triples enumeration: c/e for proper attribution (not "DDJ article"; a blog post by a user)
- 21:5121:51, 22 March 2020 diff hist −42 Hamming numbers →Direct calculation through triples enumeration: correct the code back to 1 millionth output; correct ideone entry with proper attribution and highlighting
21 October 2019
- 23:5123:51, 21 October 2019 diff hist +119 N-queens problem →In terms of foldr: simplify and format some code
- 22:5522:55, 21 October 2019 diff hist +1 N-queens problem →Breadth-first search and Depth-first search: change var' to var2 because highlighting
11 September 2019
- 11:3311:33, 11 September 2019 diff hist +472 Thue-Morse →{{header|Haskell}}: c/e: that's not the sequence, but its growing prefixes; add code for the infinite sequence
11 February 2019
- 19:0119:01, 11 February 2019 diff hist +98 Hamming numbers →Enumeration by a chain of folded merges: clarify
24 December 2018
- 17:3517:35, 24 December 2018 diff hist +86 Hamming numbers →Version based on example from Dr. Dobb's CodeTalk: expand the date
- 12:3512:35, 24 December 2018 diff hist +146 Hamming numbers →Version based on example from Dr. Dobb's CodeTalk: changed dead link to web archived live one; copied byline and date
1 December 2018
- 16:4316:43, 1 December 2018 diff hist −2 m Hamming numbers →Enumeration by a chain of folded merges: style
- 16:4216:42, 1 December 2018 diff hist +523 Hamming numbers →Enumeration by a chain of folded merges: remark about performance
- 15:4115:41, 1 December 2018 diff hist −7 Hamming numbers →Enumeration by a chain of folded merges, twice: tweak section name -- remove "twice"
- 15:4015:40, 1 December 2018 diff hist +577 Hamming numbers →Explicit multiples reinserting: new sub-section - chain of folded merges
26 October 2018
- 10:5510:55, 26 October 2018 diff hist −6 Zebra puzzle →Direct rule by rule translation: using cut instead of -> is shorter, brings the number of Linfs down noticeably, for some reason
- 10:2810:28, 26 October 2018 diff hist +66 Zebra puzzle →Direct rule by rule translation: c/e
25 October 2018
- 09:5809:58, 25 October 2018 diff hist −8 Y combinator →{{header|Common Lisp}}: finish the change
- 09:5509:55, 25 October 2018 diff hist +65 Y combinator →{{header|Common Lisp}}: use Y inside the definitions; change fib to tail-rec
24 October 2018
- 13:3613:36, 24 October 2018 diff hist +316 Y combinator →{{header|Scheme}}: add second non-recursive definition
- 06:5606:56, 24 October 2018 diff hist +787 Y combinator →{{header|Scheme}}: add comments to code; c/e
23 October 2018
- 15:5515:55, 23 October 2018 diff hist −578 Y combinator →{{header|Scheme}}: remove extraneous comments
- 15:5315:53, 23 October 2018 diff hist +823 Y combinator →{{header|Scheme}}: add tail-rec fibonacci; tweak var names (undo my edit from 4 years ago); replace letrec (disallowed and not needed)
- 06:3606:36, 23 October 2018 diff hist 0 Zebra puzzle →Direct rule by rule translation: code tweak - use only higher order interface
- 06:3006:30, 23 October 2018 diff hist −61 Zebra puzzle →Direct rule by rule translation: code tweak
- 06:0906:09, 23 October 2018 diff hist −1 Zebra puzzle →Direct rule by rule translation: args order tweak
- 05:5405:54, 23 October 2018 diff hist +79 Zebra puzzle →Direct rule by rule translation: add white space to code for legibility
22 October 2018
- 18:5218:52, 22 October 2018 diff hist 0 Zebra puzzle →Constraint Programming version: correct a typo: bule -> blue
- 18:1918:19, 22 October 2018 diff hist +123 Sieve of Eratosthenes →Tree-folding: better function name; add some comments