You're giving yourself *A LOT* of trouble by not simply reading a file!  Besides, you'll have the same problem for every problem, twice per problem!

-----------------
Beno��t St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
Instagram: Chef_Benito
IRC: lamneth
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)


On Sunday, December 2, 2018, 5:46:21 a.m. EST, Roelof Wobben <r.wobben@home.nl> wrote:


Op 2-12-2018 om 11:15 schreef Hilaire:
> #(+1 -8) inject: 0 into: [:sum :each | each ~= #+ ifTrue: [sum +  each]
> ifFalse: [sum]] .

Thanks,

Now to stretch my mind I will try to make one with double-dispatch.


Roelof