#lisp - Sat 10 Mar 2007 between 10:41 and 11:01

NY Lost Funds



Hunthere are several versioning filesystems out there
keke* (namestring (merge-pathnames #p"foo" "desktop:test;"))
--> "/test/foo"
* (merge-pathnames #p"foo" #p"desktop:test;")
--> #P"/test/foo"
Hunthat makes a string out of a pathname
prior you hadn't the #p in there
it's a short form for `pathname here'
kekegrrr...
This is what I want:
? (merge-pathnames "foo" "desktop:test;")
#4P"desktop:test;foo"
This is sane.
Hunno
kekeNo?
Hunmerge-pathnames works on pathnames
that are objects
think of binary stuff in memory, then you know what i mean
keke"a pathname designator"
string is a pathname designator.
I mean namestring
Hun15:44 < Hun > that makes a string out of a pathname
you can handle those via concatenate
kekeThanks, but I cannot follow.
Huna pathname is an object
a namestring is a string
you can construct one out of the other
merge-pathnames works only on pathnames
concatenate only on strings
it's rather easy
kekemerge-pathnames accepts a pathname designator.
which includes string.
Hunhttp://www.lisp.org/HyperSpec/Body/sec_19-3-1.html
one that either works this way or is implementation defined
therpare there lisp logo svg version that render correctly? http://www.lisperati.com/lisplogo_fancy.svg from http://www.lisperati.com/logo.html renders broken in firefox, konqueror and inkscape.. anyone with a working copy?
kekeNot sure
(merge-pathnames (make-pathname :name "foo" :type nil :version :unspecific)
(make-pathname :host "desktop"
:directory '(:absolute "test")))
--> #P"/test/foo"

Page: 2 9 16 23 

IrcArchive

NY Lost Funds