Talk:Catamorphism: Difference between revisions

(→‎Clarity needed: Additions IK?)
 
(5 intermediate revisions by 5 users not shown)
Line 1:
==Name change?==
To "Reduce"? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 01:46, 11 August 2013 (UTC)
 
== Clarity needed ==
Is it a left fold or right fold? Is the applied function left- or right-associative? –14:15, 18 September 2012 (UTC)
Line 5 ⟶ 8:
 
::I added to the task description. Hope it's OK Kzh. --[[User:Paddy3118|Paddy3118]] 16:16, 18 September 2012 (UTC)
 
::Drafts are absolutely fine, but it's considered polite to do at least one implementation with your task suggestion to get things started. It also helps us clarify the draft, working out which parts of the suggestion are essential and which are just features of the implementation you had in mind. (It's also possible to go straight to a full task, but that takes a bit of practice at task writing so that you can write an abstract description of something generally implementable and interesting/relevant. But the way to get practice is to ''practice'' of course! Doing copy-editing of a language's RC example set can help too, especially if it's got a lot of implementations of tasks already. But I'm digressing…) –[[User:Dkf|Donal Fellows]] 23:02, 18 September 2012 (UTC)
 
I still think that it is not specific enough. It doesn't give a specific task of what to fold. The examples just demonstrate the folding of a few arbitrary operators, which are not consistent between examples. Also, many of the things that are folded in the examples are commutative, so they cannot be used to demonstrate the difference between left and right fold. --[[User:Spoon!|Spoon!]] 01:51, 30 September 2012 (UTC)
 
== AppleScript result not the one shown ==
The AppleScript contribution returns {55, 3628800, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, not {55, 3628800, "10987654321"}. --[[User:Nig|Nig]] ([[User talk:Nig|talk]]) 16:36, 22 June 2022 (UTC)
: Thanks – primitive and output updated. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 16:48, 22 June 2022 (UTC)
9,655

edits