Writing documentation for my trivial implementation of the extended real number line in Gerbil Scheme, I realized my base case was wrong for (xreal-min), returning negative infinity instead of positive infinity. I was not just wrong—I was INFINITELY wrong.
-
Show this thread
-
And that was a bug introduced while porting a trivial piece of code from Common Lisp to Scheme. Imagine my doing anything more complex than that. Software is hard...
1 reply 0 retweets 4 likesShow this thread -
Incidentally, this extended real number line was porting the timestamp comparison code from ASDF to Gerbil Scheme's build system—where
#f for +∞ represents a file being missing or out-of-date, while#t for -∞ represents no file, being up-to-date by construction.2 replies 0 retweets 1 likeShow this thread
I guess I can never escape build systems.
7:23 PM - 12 Apr 2020
0 replies
0 retweets
4 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!