Talk:Sum of Array: Difference between revisions
Content deleted Content added
array or sequence? Erlang, Prolog, Haskell examples aren't arrays |
merged |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Is this task intended to be computing the sum of an ''array'', or the language's usual sequence data structure? I ask because the Erlang, Prolog, and Haskell examples use linked lists instead. Haskell, for example, has arrays but using them is less common; I don't know about Erlang and Prolog. (If it were up to me, I'd move and redescribe the task to be computing the sum of a sequence of numbers.) --[[User:Kevin Reid|Kevin Reid]] 10:20, 28 March 2007 (EDT) |
Is this task intended to be computing the sum of an ''array'', or the language's usual sequence data structure? I ask because the Erlang, Prolog, and Haskell examples use linked lists instead. Haskell, for example, has arrays but using them is less common; I don't know about Erlang and Prolog. (If it were up to me, I'd move and redescribe the task to be computing the sum of a sequence of numbers.) --[[User:Kevin Reid|Kevin Reid]] 10:20, 28 March 2007 (EDT) |
||
== Merge Sum and Product? == |
|||
This is similar enough to [[Product of Array]] that I think the tasks should be merged. --[[User:IanOsgood|IanOsgood]] 10:16, 20 October 2007 (MDT) |
|||
:Sounds good. --[[User:Short Circuit|Short Circuit]] 12:37, 20 October 2007 (MDT) |
|||
::Done: [[Sum and product of array]]. --[[User:IanOsgood|IanOsgood]] 16:46, 3 December 2007 (MST) |
Latest revision as of 23:46, 3 December 2007
Is this task intended to be computing the sum of an array, or the language's usual sequence data structure? I ask because the Erlang, Prolog, and Haskell examples use linked lists instead. Haskell, for example, has arrays but using them is less common; I don't know about Erlang and Prolog. (If it were up to me, I'd move and redescribe the task to be computing the sum of a sequence of numbers.) --Kevin Reid 10:20, 28 March 2007 (EDT)
Merge Sum and Product?
This is similar enough to Product of Array that I think the tasks should be merged. --IanOsgood 10:16, 20 October 2007 (MDT)
- Sounds good. --Short Circuit 12:37, 20 October 2007 (MDT)
- Done: Sum and product of array. --IanOsgood 16:46, 3 December 2007 (MST)