Hello,

Muldis D provides both Unicode and ASCII syntax for operators where applicable, so that users can choose between more-correct and easier-to-type as they wish.

For example, here are the Unicode syntax for 8 set-comparison infix operators:

    ⊆
    ⊈
    ⊇
    ⊉
    ⊂
    ⊄
    ⊃
    ⊅

My question for you is what are the best corresponding ASCII syntaxes to use for these with infix notation, which are both easy to read and easy to write.

Currently I provide these abbreviated English word alternatives:

    sub       | ⊆
    !sub      | ⊈ not-sub
    super     | ⊇
    !super    | ⊉ not-super
    psub      | ⊂
    !psub     | ⊄ not-psub
    psuper    | ⊃
    !psuper   | ⊅ not-psuper

But I'm thinking that there ought to be something better than this. Maybe something involving symbols, such as resembling "<" or "!>=" etc but not identical to the typical order comparison symbols; I know I have seen prior art using the likes of "|>=|" for "⊇", say, but I hope there are better alternatives. Or maybe something involving other English words.

I appreciate any feedback or suggestions on this naming.

Note that, whatever is done with the infix syntax, users always have the option as well to use standard function call syntax for all of the same operators, such as "is_subset( x, y )" for "x ⊆ y" or "x sub y" for example.

-- Darren Duncan
_______________________________________________
muldis-db-users mailing list
muldis-db-users@mm.darrenduncan.net
http://mm.darrenduncan.net/mailman/listinfo/muldis-db-users

Reply via email to