in inner define contex I better write
(define-values () (procedure ...))
than
(define dummy (procedure ...))

In other context return value is used only whe  it is part of expression. void? 
is almost never applicable to expression.


Sun, 23 Nov 2014 14:22:20 +0100 от Jens Axel Søgaard <jensa...@soegaard.net>:
>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 < kalimeh...@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


-- 
Roman Klochkov

----------------------------------------------------------------------

-- 
Roman Klochkov
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to