Changes between Initial Version and Version 1 of Ticket #91, comment 2


Ignore:
Timestamp:
Jun 7, 2018, 11:42:32 AM (7 years ago)
Author:
a3moss

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #91, comment 2

    initial v1  
    1 Thierry says we also want a !? operator:
     1Thierry says we also want a couple more operators:
    22{{{
    33forall(dtype T | { int ?!=?(const T&, zero_t); })
    44int !?(const T& x) { return !(x != 0); }
     5
     6forall(dtype T | { int ?!=?(const T&, zero_t); })
     7int ?==?(const T& x, zero_t) { return !(x != 0); }
    58}}}