Re: Checking for nil return

[email protected] (Darren Duncan) Thu, 31 Dec 2020 17:51:16 -0800
Newsgroups perl.perl6.language
Message-ID <[email protected]>
On 2020-12-29 6:26 a.m., Ruud H.G. van Tol wrote:
> Basically, never mix error-state and return-value.
> Rather use a different channel/dimension for each.

Such a separation can't be absolute though.  One needs to be able to user-define 
routines that implement additional generic Failure related features, and in that 
case they WOULD be normal arguments or return values.  And so the regular type 
system still needs to support having anything at all as an argument or return 
value. -- Darren Duncan