Thanks, that was it.
Dud question.
2010/1/9 Brandon S. Allbery KF8NH :
> On Jan 10, 2010, at 00:24 , Thomas Hartman wrote:
>>
>> Can somebody explain this?
>>
>>> getDirectoryContents inD
>>
>> ["..","#sanity
>> .txt
>> #",".","sanity
>> .txt
>> ","etc
>> .txt
>> ","patchTagDir
>> .txt
>> ","jail
On Jan 10, 2010, at 00:24 , Thomas Hartman wrote:
Can somebody explain this?
getDirectoryContents inD
["..","#sanity
.txt
#",".","sanity
.txt
","etc
.txt
","patchTagDir
.txt
","jail
.txt","notjail.txt","alldata.txt","allobjs.txt","namesNSizes.txt"]
filterM doesFileExist =<< getDirectoryCont
Can somebody explain this?
> getDirectoryContents inD
["..","#sanity.txt#",".","sanity.txt","etc.txt","patchTagDir.txt","jail.txt","notjail.txt","alldata.txt","allobjs.txt","namesNSizes.txt"]
> filterM doesFileExist =<< getDirectoryContents inD
> ["sanity.txt"]
_