mike805 on Nostr: npub13w6fh…l479m Got me for a while too. The general idea seems to be: how do you ...
npub13w6fhssk27ffmh00g8lfr9p8adxcrvtf8lgu6z2j6je7ugmtqpws4l479m (npub13w6…479m) Got me for a while too. The general idea seems to be: how do you impose an order on a stateless system? Pass a variable to represent the outside world. So to print a character on the screen, the function takes a screen and a character and returns a screen with a character on it. The trick is as long as you don't reuse the screen-without-character the compiler can optimize that out and you do not have to hold multiple copies of the screen buffer.