Re: Funny/Clever/Ironic Tag Lines for Euphoria?

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
petelomax said...
jimcbrown said...

We might get it soon. I just created a branch to test this out. http://scm.openeuphoria.org/hg/euphoria/rev/587f8aedb552

For my first prediction, you will need to change include/wildcard.e And the equivalent lines (for linux) in std\text.e

Agreed. That particular change is not backwards compatible - though it's possible to only implement the compare()/equal() behavior for the comparision ops inside of the if/while true/false check and leave them as sequenceops elsewhere.

Just for demonstration purposes, I've now implemented this: http://scm.openeuphoria.org/hg/euphoria/rev/07c67d799836

So, doing a comparision inside of an if or while true/false check will behave like compare(), but doing it outside (as its done by lower()/upper()) will use the xq_div() behavior - it returns a sequence, with extra elements being kept but having no operation performed on them.

jimcbrown said...

I'm implementing xq_equal/xq_notequal/et al as an alternative stand in.

This is now implemented as well, in std/seqops.e : http://scm.openeuphoria.org/hg/euphoria/rev/253355d356ea

See also http://scm.openeuphoria.org/hg/euphoria/file/253355d356ea/include/std/seqops.e

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu