close to the edge
Member
Nice! This motivated me to figure out how to use cabal to install the required packages so I could run your code. The Hilbert curve option only drew a single horizontal line, but the other two seemed to work as intended.
I got curious about Data.List.Stream aka stream-fusion. Googled a bit, and learned it's a faster drop-in replacement for Data.List, but hasn't been able to replace the original in the standard library due to some situation where the stream-fusion doesn't yet perform adequately. Since stream-fusion is incompatible with the list comprehension syntax, I don't see the point of using it if you don't actually need the extra perf. Are you using it out of habit?
Yeah, the Hilbert curve is broken for some reason, I'll have to take a closer look at that. As for stream-fusion, I mostly just wanted to try it out to see if it improved performance. (it didn't really)