; vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 filetype=lisp ; Copyright (c) Paul Tagliamonte, in sofar as any of this is at all ; copyrightable. (import ["sunlight"]) (foreach (kwapply (sunlight.openstates.legislators) {"state" "ma"}) (fn [x] (print [ (get x "first_name") (get x "last_name") (get x "party") ])))