nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s nostr:npub18nexvs44uwvzhjlp3x3ua3f4n8npw45krta6nv9u5rkddecwnfqqlu2mm9
How is
foldl' (\acc _ -> f acc) x [1 .. n]
simpler than
iterate f x !! n
?
!! is horrific imo
Please Login to reply.
No replies yet.