[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A value for "nothing"
From: |
Ludovic Courtès |
Subject: |
Re: A value for "nothing" |
Date: |
Mon, 27 Aug 2018 14:37:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
I would suggesting returning zero values, using:
(values)
That way, if a caller wrongfully attempts to get at the return value of
that procedure, it’ll get an error.
Fibers does that in several places, and I think it’s a good convention
as it conveys exactly what you want.
Ludo’.
- Re: A value for "nothing", (continued)
Re: A value for "nothing", Panicz Maciej Godek, 2018/08/26
Message not available
Message not available
Re: A value for "nothing", HiPhish, 2018/08/26