(define get-nth-helper
(λ (n)
(for/fold ([str "ca"])
([i (in-range n)])
(string-append str "d"))))
(define get-nth-up-to-index-3
(λ (n ls)
(define fn (string->symbol (string-append (get-nth-helper n) "r")))
((eval fn) ls)))
annrpom Goto Github PK
Name: annie pompa
Type: User
Company: @cockroachdb
Twitter: annie_pompa
Location: New York, NY