Hello David, using and here is a fancy way of doing things, that is true. Best way would probably to use a suitable else value like '(0 . 0) or something, I guess.
Cheers, Valentin 21.12.2021 21:58:59 David Kastrup <d...@gnu.org>: > Valentin Petzel <valen...@petzel.at> writes: > >> Hello Jean, hello David, hello Kieren, >> >> you should even be able to write (if sten (ly:stencil-extent sten)), >> as the stencil should always be a stencil or #f. > > The return value will still be neither #f nor a dimension unless you > replace "if" with "and". > > -- > David Kastrup