AlexNisnevich / ECMAchine

Lisp-based in-browser toy operating system
http://alex.nisnevich.com/ecmachine/
201 stars 14 forks source link

kill-all fails (and kills just one) #6

Closed badboy closed 12 years ago

badboy commented 12 years ago

kill-all does not work as expected anymore:

ecmachine:/ guest$ (kill-all) [USER]: undefined: args is not defined ecmachine:/ guest$ (kill-all) [USER]: undefined: args is not defined ecmachine:/ guest$ kill-all (λ () (map kill (filter (λ (x) (>= x 0)) (map car (processes)))))

each time kill-all is called just one process is killed.

AlexNisnevich commented 12 years ago

Oops, I accidentally broke (kill) during refactoring. It should work now.