pike.git / lib / modules / __builtin.pmod / Range.pike

version» Context lines:

pike.git/lib/modules/__builtin.pmod/Range.pike:26:   //! by filling in @expr{-Math.inf@}.   //! @param till   //! Upper exclusive boundary for the range. Specify no upper-boundary   //! by filling in @expr{Math.inf@}.   //! @seealso   //! @[Math.inf]   protected variant void create(mixed from, mixed till) {    this::from = from;    this::till = till;   } - protected variant void create(object/*this_program*/ copy) { + protected variant void create(this_program copy) {    from = copy->from;    till = copy->till;   }   protected variant void create() {   }      //! Difference   protected mixed `-(mixed that) {    this_program n = this_program(max(from, ([object]that)->from),    min(till, ([object]that)->till));