[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
directory_files question
From: |
Duncan Patton a Campbell |
Subject: |
directory_files question |
Date: |
Mon, 28 May 2012 09:51:12 -0600 |
Howdy Daniel, all?
in the manual:
8.27.7 directory_files/2
Templates
directory_files(+atom, ?list)
but when I run it at the top level I get a returned value that
looks like a list with a single atomic term:
| ?- findall(X,directory_files('./',X),XL),length(XL,Xlen).
XL =
[['.',..,'.X11-unix','.ICE-unix','.X0-lock','RDS_radiohack.pdf','sylpheed-1000','dbus-WzhE0SGfRy','09_11STSuspension_769-812.pdf',dat2,dat1,dat3,'tst.pl',sess_0cttvdcvgums3295asvm9d1h37,sess_d44nfu2622dvqmoasp8oc9l586,sess_dj3m8838or24rbr0mkq92p3l95,'dtest.txt','dtest2.txt','dtest3.txt',sess_81i8jaqoo1k6erhn8h7il5r1s1,tmp,sess_ggh80g6ccid64ifq80gdglt6p4,'dtest4.txt','dtest5.txt','dtest6.txt','dtest7.txt',sess_qte620mm4rvrqv9clh4n22v1j5,'mozilla-media-cache','2223797.3ff7eaf9d46f992646ac90a7097b4a96.mp3']]
Xlen = 1
This is the same for 1.40 on amd64 as for 1.3.1 on i386 so mebbe this is what
is intended?
Thanks,
Dhu
--
Ne obliviscaris, vix ea nostro voco.
- directory_files question,
Duncan Patton a Campbell <=