Cf. how it's implemented in Idris: https://github.com/idris-lang/Idris2/blob/main/src/Idris/SetOptions.idr#L187-L189
Cf. how it's implemented in Idris:
https://github.com/idris-lang/Idris2/blob/main/src/Idris/SetOptions.idr#L187-L189