3 ms·
> For example, I doubt your subseq works on strings (or bytestrings) Your view of Common Lisp seems to be created more by assumptions and not so by actual real
by lispm 10y ago
> For example, I doubt your subseq works on strings (or bytestrings)
Your view of Common Lisp seems to be created more by assumptions and not so by actual real limitations.
Strings:
CL-USER 10 > (subseq "xxfoobarxx" 2 8)
"foobar"
Any vector:
CL-USER 11 > (subseq #(10 30 20 100 50 30 20 20) 2 8)
#(20 100 50 30 20 20)
Bitvector:
CL-USER 12 > (subseq #*10101010010101001010101 2 8)
#*101010