Hey Guys, I do not see how to apply pattern matching to this problem. Using for/list as below makes the most sense to me and I do not see how to fit in pattern matching
; [List-of [List-of String]] -> [List-of Natural] ; produces list of number of Strings per item in a llos (check-expect (words-on-line empty) empty) (check-expect (words-on-line (list empty)) (list 0)) (check-expect (words-on-line (list (list "22" "rr" "ff") (list "22" "rr"))) (list 3 2)) (define (words-on-line llos) (for/list ((los llos)) (length los))) Can I get a hint? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/28814482-5ad2-4b8f-9e40-c0b83ffcb30c%40googlegroups.com.