the problem with racket is it's actively making it harder to program in python because stuff i expect to be easy turns out to be complicated
hmm i have a list of lists how do i flatten it
(apply append mylist)
(flatten mylist)
python: uhhhhh
for loop?
[y for y in x for x in mylist] # error
[y for x in mylist for y in x] # aaaaaaaaa guido wtf is this
import itertools
itertools.chain(mylist) # this is the practically equivalent of (apply append) but like, i had to look at the docs
@f0x oh hey js has something that python doesn't really have....interesting