Hacker News new | past | comments | ask | show | jobs | submit login

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.




Convert https://trout.me.uk/data.jpg to sixels and have the compiler emit that?


> sixels

Thanks! My build scripts just got that little bit more entertaining (for me. not for the other devs).


> "Insufficient data for meaningful answer"

Nice reference, by the way.


oh fuck, i missed that


you could special-case arithmetic sequences




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: