Talk:McNuggets problem: Difference between revisions

m
Thundergnat moved page Talk:McNuggets Problem to Talk:McNuggets problem: Follow normal task title capitalization policy
m (Thundergnat moved page Talk:McNuggets Problem to Talk:McNuggets problem: Follow normal task title capitalization policy)
 
(3 intermediate revisions by 2 users not shown)
Line 19:
I would not have restricted the high limit to   '''100''',   but left that open-ended   (in other words, infinity).
 
It would also get around the use of a trade-marked (TM or ™) term(s) and also a registered (R or ®) trade-mark term, but it seems that Wikipedia skipped around those problems.   &bspnbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:35, 25 October 2018 (UTC)
 
 
==Python: "composing generic abstractions"==
Line 32 ⟶ 31:
:: Perhaps the helpful part of your question is about what that variant adds technically. The shortest answer might be (1.) The use of currying in Python (2.) The application of the itertools.dropwhile function (3.) the relationship between set comprehension and the (concat . map) composition of two atomic and universal functions. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 08:42, 27 October 2018 (UTC)
: paddy Well, I suppose one 'use' is that it does have a style. The examples now under REPL import functional idioms from itertools and abuse them in some sort of style chimera. Somewhere in this discussion you complained about the use of functional idioms rather than the pythonic Comprehensions. These were introduced in Python2 and the What's New in Python2 documentation explains in length how to map one to the other. Why then when I write a solution importing nothing and using only Comprehensions do you denigrate it as 'From F#'. Surley this is the Pythonic Solution--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 14:08, 29 October 2018 (UTC)
 
:: Hi Nigel; according to the page history [http://rosettacode.org/mw/index.php?title=McNuggets_Problem&type=revision&diff=271712&oldid=271667 You have "denigrated" your own example]! Please check. [[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 14:48, 29 October 2018 (UTC)
10,327

edits