I'm trying to figure out a programming puzzle, here was my first attempt https://computerfairi.es/media/brmIr52r_1PFetotgPQ
@lizardsquid I don't know that language oO
@Efi it's haskell, which is one of my favourites!
@lizardsquid I thought I knew haskell, but I must have forgotten everything about it
@Efi to be fair, this is fairly weird looking haskell
@lizardsquid @Efi oooo I really need to learn it
@lizardsquid you're actually aiming for O(1)
My second attempt was way too complex and didn't use types properly https://computerfairi.es/media/aZvqiNKoLRO3B4u88Dk