3 ms·
That makes two of us. But they aren't strings :-) (Seriously though, is it pathnames you don't understand or logical hosts? Because CL pathnames are actually
by lisper 7y ago
That makes two of us. But they aren't strings :-)
(Seriously though, is it pathnames you don't understand or logical hosts? Because CL pathnames are actually pretty straightforward. Logical hosts, on the other hand, are a hot mess.)
- tester89 7y agoI don’t really understand how the #P”” “strings” aren’t différent from strings.
- lisper 7y agoThey are different types. ? (type-of "this is a string") (SIMPLE-BASE-STRING 16) ? (type-of #P"/this/is/a/pathname") PATHNAME You can't perform string operations on a pathname. ? (subseq "This is a string" 5 15) "is a strin" ? (subseq #P"/This/is/a/pathname" 5 15) > Error: The value #P"/This/is/a/pathname" is not of the expected type SEQUENCE. You can perform pathname operations on a string, but only because the string is automatically converted into a pathname first.