Search
Wednesday, 18th of September 2019, 19:16:15 UTC
19:17:05
stassats
that's... (simple-array character (*)), and it's common
19:17:23
stassats
because (and string (not base-string)) let's through the stupid nil-arrays
19:18:04
sjl_
It seems odd to request a stream of element-type base-char and then declare the contents of the stuff you get from it to be character
19:18:15
stassats
that reminds me, i want an optional feature to disable nil-arrays
19:19:02
stassats
sjl_: that standard doesn't specify that
19:19:04
sjl_
But it's possible I guess. I can write the ugly buffer/octet parsing code I guess.
19:19:25
stassats
or all you know, read-line might even return a non-simple array
19:20:47
sjl_
So people writing (declare (type (simple-array character (*)) foo) aren't basing that on the standard, but rather just what SBCL has historically done
19:20:53
sjl_
(where foo came from read-line)
20:26:56
asdf_asdf_asdf92
** NICK asdf_asdf_asdf
Thursday, 19th of September 2019, 7:16:15 UTC