default value support for inline functions

Monday, 13 April 2026 · 2 messages
RS
Rob Stapper13 Apr 2026 16:46 #

Hi,

I have these inline callback functions that sometimes take an extra parameter. I was wondering if it is possible and feasable that also inline functions support default values.

Thnx in advance for your response.

mvgr.

Rob Stapper

CG
Christian Grün13 Apr 2026 17:08 #

Hi Rob,

Your suggestion was indeed discussed a while ago [1]. We eventually decided it would be too complex to consider it for 4.0. In principal, it could be added to a future version of the language.

Cheers, Christian

[1] https://github.com/qt4cg/qtspecs/issues/160

Quoted text · Rob Stapper · 9 lines
Von: Rob Stapper via BaseX-Talk <basex-talk at mailman.uni-konstanz.de> Gesendet: Montag, 13. April 2026 16:46 An: basex-talk at mailman.uni-konstanz.de Betreff: [basex-talk] default value support for inline functions Hi, I have these inline callback functions that sometimes take an extra parameter. I was wondering if it is possible and feasable that also inline functions support default values. Thnx in advance for your response. mvgr. Rob Stapper

⚡Generated with XQuery