med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

365
active users

#common

2 posts2 participants0 posts today
Replied in thread

@sigue

In SBLC (for comparison):

* (defvar p (make-pathname :directory '(:absolute "tmp") :version :newest))
P
* (describe p)
#P"/tmp/"
[pathname]

HOST = #<SB-IMPL::UNIX-HOST {100000D633}>
DIRECTORY = (:ABSOLUTE "tmp")
VERSION = :NEWEST
* (describe (make-pathname :defaults p :version nil))
#P"/tmp/"
[pathname]

HOST = #<SB-IMPL::UNIX-HOST {100000D633}>
DIRECTORY = (:ABSOLUTE "tmp")
*

#common-lisp #scbl

Replied in thread

@sigue

Now, how do I remove the version from a pathname. In CLISP:

[1]> (defvar p (make-pathname :directory '(:absolute "tmp") :version :newest))
P
[2]> (describe p)

#P"/tmp/" is a pathname, with the following components:
DIRECTORY = (:ABSOLUTE "tmp")
VERSION = :NEWEST

[3]> (describe (make-pathname :defaults p :version nil))

#P"/tmp/" is a pathname, with the following components:
DIRECTORY = (:ABSOLUTE "tmp")
VERSION = :NEWEST

Is that even legal?

#common-lisp #clisp

#common #lisp noob question: Is there a way to use libraries like Drakma on non-pthreaded implementations of #commonlisp? Bordeaux-threads fails to install on GNU Clisp or #SBCL on #NetBSD (too old?) and I'm not sure why it needs threading when I do simple one-after-the-other HTTP requests anyway!

Help please!