Hi Robert
> Even better if I could point the function at a directory, it finds all of
the images in it, and creates the data structure for me. Any ideas?
You can get the files in a directory using *directory-list *and filter for
the image files using a regex.
(for ([f (directory-list "/some/path")] #:when (regexp-match? "\\.png$" f))
(displayln f))
Dan
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/racket-users/CAFKxZVV2t%3Dn_PXY4XN%2Ba7rNA9YAL6hW_1VHKupeA8OQOXSwfYw%40mail.gmail.com.