David Kastrup <d...@gnu.org> writes:

> taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes:
>
>> Artyom Poptsov <poptsov.art...@gmail.com> writes:
>>
>>> Hello Guilers,
>>>
>>> it seems that currently there's no way to 'read' back an
>>> '*unspecified*' value,
>
> *unspecified* works reasonably fine in most circumstances.
>
> scheme@(guile-user)> (make-vector 3)
> $1 = #(#<unspecified> #<unspecified> #<unspecified>)
> scheme@(guile-user)> #(#<unspecified> #<unspecified> #<unspecified>)
> While reading expression:
> ERROR: In procedure scm_lreadr: #<unknown port>:2:3: Unknown # object: #\<
> scheme@(guile-user)> #(*unspecified* *unspecified* *unspecified*)
> $2 = #(*unspecified* *unspecified* *unspecified*)
> scheme@(guile-user)> 
>
> It seems like printing *unspecified* as #<unspecified> is not actually
> doing anybody much of a favor, though.

Though #(*unspecified* *unspecified* *unspecified*) is not actually an
alternative, being a vector of three symbols.  Cough cough.

(vector *unspecified* *unspecified* *unspecified*)

does read back properly but of course that does not turn *unspecified*
into an actual print form of *unspecified*.  Sorry for this particular
brain fart.

-- 
David Kastrup


Reply via email to