logoalt Hacker News

TimorousBestietoday at 5:33 PM1 replyview on HN

> Why does the handle need floating point?

I don’t know if Yon does this (the documentation is gibberish) but it’s possible to use f64 NaNs to hold convenient metadata. I had a professor who wrote a bespoke teaching language (roughly based on Scheme) that did that.


Replies

ModernMechtoday at 6:04 PM

Here's an implementation of such: https://docs.rs/nanval/latest/nanval/

show 1 reply