qt4cg / qtspecs

QT4 specifications
https://qt4cg.org/
Other
28 stars 15 forks source link

fn:deep-equal: default option #1462

Open ChristianGruen opened 4 days ago

ChristianGruen commented 4 days ago

The default value for the option parameter of fn:deep-equal is:

{ 'collation': fn:default-collation() }

Can we simply use {}, or is there a particular reason for mentioning the collation and no other option?

michaelhkay commented 2 days ago

The particular reason is an attempt (I don't know if it's entirely successful) to ensure that all dependencies of functions on the static and dynamic context are captured in default values for function parameters.