t3x.org / sketchy / library / nlteq.html
SketchyLISP
Reference
  Copyright (C) 2007
Nils M Holm

n<=

Conformance: SketchyLISP Core

Purpose: Check whether two natural numbers are in non-descending order. Return #t, if a<=b and otherwise #f. Both a and b must be natural numbers.

Arguments:
A - natural number
B - natural number

Implementation:

(define (n<= a b)
  (eq? (n> a b) #f))

Example:

(n<= 5 5) 
=> #t

See also:
digits, n>, n<=, =, <=.