Music function returning *unspecified*

Dan Eble <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <[email protected]>
Are there any potential drawbacks to allowing music functions to return 
*unspecified* and having the infrastructure map it to (make-music 'Music)?

The main advantage is that something like

     (if condition
         (begin
          ...
          ...)
         (make-music 'Music))

could instead be written

     (when condition
       ...
       ...)

I believe that this can be done; I'm asking whether there is any reason 
that it shouldn't be done.

Thanks,
-- 
Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.