Silly question: given a <#path>, how do I tell if it's to a file, directory, link, etc? I'd like to know this in general, although the proximate issue is that I would like to use (in-directory) to process all the files in a directory, but I need a way to ignore everything that isn't a file.
I saw 'file-exists?' but I don't want to check the disk twice, I just want to know what type it is. That information should have been available when the path was constructed. In a related question, is there a way to introspect a struct to find out what its fields are? Dave -- 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. For more options, visit https://groups.google.com/d/optout.