Benny is right. This problem is *much* easier if you break it up and do it in baby steps. You can start very simply, get it working, and then factor as you like. For example, in Scheme notation (I'm not a clojure guy yet):
(map * '(1 2 3) '(1 2 3)) -> (1 4 9) (map (lambda (x) (map * '(1 2 3) x)) '((1 2 3) (1 2 3))) -> ((1 4 9) (1 4 9)) (define (distribute-target-over-signal t s) (map (lambda (tmp) (map * t tmp)) s)) -> ok (distribute-target-over-signal '(1 2 3) '((1 2 3) (1 2 3))) -> ((1 4 9) (1 4 9)) (define (the-whole-ball-of-wax t s) (map distribute-target-over-signal t s)) -> ok (the-whole-ball-of-wax '((1 2 3) (1 2 3)) '(((1 2 3) (1 2 3)) ((1 2 3) (1 2 3)))) -> (((1 4 9) (1 4 9)) ((1 4 9) (1 4 9))) Then you can refactor until you're happy. Adam -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en