<HTML><BODY>> void is a good placeholder in dummy functions/objects<br><br>(define (foo) (values)) also works just fine.<br><br>> fill a gap, which is useful<br><br>If function returns void?, then it is used as a procedure. I mean returned value never assigned to a variable.<br>So in what cases it is useful?<br><br><br>Sun, 23 Nov 2014 13:20:26 +0000 от Stephen De Gabrielle <spdegabrielle@gmail.com>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        <div id="">
        



    









        
        


        
        
        

        

        
        

        
        

        
        



<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
                        <div id="style_14167488280000000236_BODY">void is a good placeholder in dummy functions/objects. It doesn't do anything, except for fill a gap, which is useful.<br><br>Values is used to pass multiple values. <br><br>Check the manual for details.<br><br>Does that help?<br><br>Stephen<br><br><div>On Sun, 23 Nov 2014 at 12:56 Roman Klochkov <<a href="//e.mail.ru/compose/?mailto=mailto%3akalimehtar@mail.ru" target="_blank">kalimehtar@mail.ru</a>> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>When I should use (void) and when (values)?<br><br>They are both used to show, that there are no return values.<br>They are both not printable.<br><br>What is intended use for (void) and (values) and when one should prefer one over other?<br><br>-- <br>Roman Klochkov</div>
____________________<br>
  Racket Users list:<br>
  <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/<u></u>users</a><br>
</blockquote></div>

</div>
                        
                
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br>
<br>-- <br>Roman Klochkov<br></BODY></HTML>