I used 'convert([])@SExpression'. In proper context (that is when
SExpression is the expected type) it is only marginally longer than
'empty()'.
I am not sure what is worth adding to SExpression. When working on
HyperDoc probably most notable thing was lack of convertion from
Boolean to SExpression. The second one was probably lack of 'cons'.
In general, one could try to add much more to SExpression. OTOH
we would like to have proper types for various things. SExpression
is mainly for low level code interfacing with Boot. Such low
level code by neccesity can not have proper static types, so
using 'pretend' for in such cases does not look too bad for me.
--
Waldek Hebisch