[racket] (values) vs (void)

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sun Nov 23 08:22:20 EST 2014

Most contexts expects a single return value, so use (void) unless you
are in a special situation.

/Jens Axel


2014-11-23 13:55 GMT+01:00 Roman Klochkov <kalimehtar at mail.ru>:
> When I should use (void) and when (values)?
>
> They are both used to show, that there are no return values.
> They are both not printable.
>
> What is intended use for (void) and (values) and when one should prefer one
> over other?
>
> --
> Roman Klochkov
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>



-- 
--
Jens Axel Søgaard


Posted on the users mailing list.