List a subdirectories in a directory?

"Lloyd R. prentice" <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
Hello,

.file:list_dir/1 lists all files in a directory. But I need to list all sub-directories.

One would think that this would be a routine function., but my aging eyes fail to find any way to do this.

Can someone please show me the path forward?

Many thanks,

LRP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.