www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17204] New: std.functional: gte (greater than or equals), lte

https://issues.dlang.org/show_bug.cgi?id=17204

          Issue ID: 17204
           Summary: std.functional: gte (greater than or equals), lte
                    (less than or equals) and ne (not equals)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greeenify gmail.com

While not very common as lowerThan and easy to do it on ones own, the existence
of lessThan, greaterThan, equalTo nearly begs the question on why lte (or
lessOrEqual) and gte (or greaterOrEqual) and (notEqualsTo) aren't on the list -
especially because the underlying, private implementation `safeOp` supports
them.

--
Feb 19 2017