Comment

Comment by rand_r

Could someone please explain how this statement works:

> set(e2 for e1 in edits1(word) for e2 in edits1(e1))

I understand how you can say something like "f(x) for x in edits1(word)", but the way it's used above with multiple fors is making my brain hurt.

parent rand_r 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton