[Haskell-beginners] searching for a file

Sean Perry shaleh at speakeasy.net
Thu Jun 24 01:05:04 EDT 2010


On Wed, 2010-06-23 at 20:56 -0700, Michael Mossey wrote:
> Can I get a hint how to do this:
> 
> Given a directory D and a file extension E, find the newest file in D 
> among all files with extension E.
> 
> I wouldn't mind if you point me to the functions that are useful and 
> leave the rest as an exercise. Or even just point me to the module(s) 
> that is(are) useful.
> 

http://www.haskell.org/onlinelibrary/directory.html does not work for
you?




More information about the Beginners mailing list