<mrcode_>
what's the simplest way to make an empty simple-vector of a given size ?
<aeth>
make-array with an :initial-element and if that's too verbose (it often is) you can just define a trivial inline function to do it
<aeth>
(make-array 3 :initial-element nil) or (make-array 3 :initial-element 0)
<mrcode_>
aeth: thx. are those usually faster than regular arrays ?
<aeth>
They could be more space-efficient and provide the compiler's type inference more information if you give them an :element-type, e.g. (make-array 3 :element-type 'single-float :initial-element 0f0)
<aeth>
element-type is only going to work for certain kinds of numbers and characters, like e.g. (unsigned-byte 8). Besides characters and bits, it's implementation specific, but almost all of them will have single-float, double-float, and various byte sizes (especially 8, 16, 32, and 64) that are signed and unsigned
<aeth>
It might round, e.g. (unsigned-byte 14) might round to 15 or 16
<aeth>
And that's where adding trivial helper functions is often helpful.
Kundry_Wag has quit [Ping timeout: 268 seconds]
<mrcode_>
got it. thx aeth
<aeth>
by default, and if you give it an invalid type, it'll just be a T array, i.e. holds anything
<aeth>
initial-contents is another useful feature, e.g. (make-array 3 :element-type 'single-float :initial-contents '(1f0 2f0 3f0)) => #(1.0 2.0 3.0)
makomo has quit [Ping timeout: 248 seconds]
torbo has joined #lisp
Mandus has quit [Ping timeout: 245 seconds]
Mandus has joined #lisp
_whitelogger_ has joined #lisp
asedeno_ has joined #lisp
drmeister_ has joined #lisp
postit_ has joined #lisp
xristos_ has joined #lisp
dtw has quit [*.net *.split]
liambrown has quit [*.net *.split]
iarebatman has quit [*.net *.split]
katco has quit [*.net *.split]
akanouras has quit [*.net *.split]
rumbler31 has quit [*.net *.split]
grumble has quit [*.net *.split]
DataLinkDroid has quit [*.net *.split]
kushal has quit [*.net *.split]
gxt has quit [*.net *.split]
cantstanya has quit [*.net *.split]
slyrus__ has quit [*.net *.split]
X-Scale has quit [*.net *.split]
chipolux has quit [*.net *.split]
dale has quit [*.net *.split]
paul0 has quit [*.net *.split]
uplime has quit [*.net *.split]
sindan has quit [*.net *.split]
gigetoo has quit [*.net *.split]
xantoz has quit [*.net *.split]
sammich has quit [*.net *.split]
rippa has quit [*.net *.split]
drot has quit [*.net *.split]
C-Keen has quit [*.net *.split]
vt240 has quit [*.net *.split]
ecraven has quit [*.net *.split]
Finnfinn has quit [*.net *.split]
shenghi has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
hiredman has quit [*.net *.split]
trn has quit [*.net *.split]
Patzy has quit [*.net *.split]
kbtr has quit [*.net *.split]
Ankhers has quit [*.net *.split]
Aritheanie has quit [*.net *.split]
luis has quit [*.net *.split]
sukaeto has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
libertyprime has quit [*.net *.split]
a7f4 has quit [*.net *.split]
datajerk has quit [*.net *.split]
dvdmuckle has quit [*.net *.split]
fouric has quit [*.net *.split]
Nikotiini has quit [*.net *.split]
jackdaniel has quit [*.net *.split]
keep_learning has quit [*.net *.split]
zigpaw has quit [*.net *.split]
mrcode_ has quit [*.net *.split]
theBlackDragon has quit [*.net *.split]
scymtym has quit [*.net *.split]
samebchase has quit [*.net *.split]
notzmv has quit [*.net *.split]
dru1d has quit [*.net *.split]
_whitelogger has joined #lisp
CrazyEddy has quit [Remote host closed the connection]
Oladon_work has quit [Ping timeout: 260 seconds]
CrazyEddy has joined #lisp
slyrus__ has joined #lisp
slyrus_ has quit [Ping timeout: 245 seconds]
<aeth>
There is a #lisp-es with 5 people (by comparison, #lisp-pl has 17)
alexanderbarbosa has quit [Remote host closed the connection]
sahara3 has left #lisp [#lisp]
torgo812 has quit [Remote host closed the connection]
Bike has joined #lisp
jonatack has quit [Quit: jonatack]
jonatack has joined #lisp
bendersteed has quit [Remote host closed the connection]
shka_ has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 245 seconds]
sjl has quit [Quit: WeeChat 2.3-dev]
orivej has joined #lisp
cosimone has quit [Ping timeout: 250 seconds]
<drmeister_>
Hi - has anyone used sphinx and/or cldomain to generate documentation for lisp systems?
<drmeister_>
The cldomain examples point to a website that is down. I'm looking for advice and feedback on writing documentation for Common Lisp code.
moei has quit [Quit: Leaving...]
bexx has left #lisp ["WeeChat 2.5"]
slyrus_ has joined #lisp
nil has quit [Quit: Fairfarren.]
nil has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
slyrus__ has quit [Ping timeout: 245 seconds]
orivej has joined #lisp
smazga has quit [Quit: leaving]
alexanderbarbosa has joined #lisp
permagreen has quit [Remote host closed the connection]