News for hackers. Stuff that matters.
Re:0.30000000000000004 by Johnny_Brahms on Monday April 03, 2017 @03:11AM (#14021105)
The problem is remembering to only input rationals :) So instead of doing (iota 100 0.1 0.1), you do (iota 100 (/ 1 10) (/ 1 10)). That does not work in chicken for some reason.

I don't know if precomputation is ever guaranteed for those things, but otherwise it would be neat to be able to input rationals directly into the source.

Edit: So, this is scheme standard discovery week: apparently inputing 1/10 works just fine. I can't believe I missed this.

There are no comments on this comment yet.