3 ms·
I thought about that. I thought the compiler could error with "Insufficient data for meaningful answer" until you'd added enough digits that the sequence was un
by flir 3y ago
I thought about that. I thought the compiler could error with "Insufficient data for meaningful answer" until you'd added enough digits that the sequence was unambiguous.
Then I tried it in OEIS and as you say there are too many sequences that start [1,2,3,4,5,...] - I think we may be stuck with generators and yield. But they're not exactly delightful.
- Sharlin 3y ago> "Insufficient data for meaningful answer" Nice reference, by the way.
- kragen 3y agooh fuck, i missed that
- mst 3y agoConvert https://trout.me.uk/data.jpg https://trout.me.uk/data.jpg to sixels and have the compiler emit that?
- flir 3y ago> sixels Thanks! My build scripts just got that little bit more entertaining (for me. not for the other devs).
- kragen 3y agoyou could special-case arithmetic sequences