Re: [Factor-talk] Let's fix yosefk's tricky code

2014-08-14 Thread Björn Lindqvist
2014-08-14 0:17 GMT+02:00 Jon Purdy evincarofaut...@gmail.com: Sigh. The formatting button in Gmail is directly next to the “Send” button. Apologies, list. It seems like most of the overhead comes from fixed-point arithmetic, actually. Here’s a translation to Kitten with locals: def

Re: [Factor-talk] Let's fix yosefk's tricky code

2014-08-14 Thread Jon Purdy
Interesting! But what does the (x.) and (-.) words do? Multiply and subtract in floating point. Factor obviates such distinctions with dynamic typing. -- ___ Factor-talk

Re: [Factor-talk] Let's fix yosefk's tricky code

2014-08-14 Thread Björn Lindqvist
2014-08-14 9:44 GMT+02:00 Jon Purdy evincarofaut...@gmail.com: Interesting! But what does the (x.) and (-.) words do? Multiply and subtract in floating point. Factor obviates such distinctions with dynamic typing. Now I get it. With locals your code translates to this in Factor: ::