Show
Ignore:
Timestamp:
08/25/08 07:23:17 (15 months ago)
Author:
black
Message:

Next iteration of CordedStrings?, with substring nodes. Comparison of Strings with substring nodes is a work in progress. This commit fixes bugs in the Range comparison code that were impeding that progress

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Library/FortressLibrary.fsi

    r2726 r2739  
    9999    isLeftZero(_:Comparison): Boolean 
    100100end 
     101 
     102opr BIG LEXICO(): BigReduction[\TotalComparison, TotalComparison\] 
    101103 
    102104trait Comparison 
     
    701703trait Condition[\E\] extends SequentialGenerator[\E\] 
    702704    getter isEmpty(): Boolean 
     705    getter nonEmpty(): Boolean 
    703706    getter holds(): Boolean 
    704707    getter size(): ZZ32 
     
    973976        defined as %|self| = 0%. *) 
    974977    getter isEmpty(): Boolean 
     978    getter nonEmpty(): Boolean 
    975979    (** %size()% is depracted; use %|self|% instead. *) 
    976980    abstract getter size(): ZZ32 
     
    18021806                RangeWithExtent[\T\], PartialRange[\T\] } 
    18031807    excludes { Number } 
    1804  
    1805     getter isEmpty(): Boolean 
     1808    
    18061809    opr =(self,_:Range[\T\]): Boolean 
    18071810end 
     
    19691972    opr |self| : ZZ32 
    19701973    opr CASE_INSENSITIVE_CMP(self, other:String): TotalComparison 
     1974     
    19711975    opr [i:ZZ32]: Char 
    19721976    (** As a convenience, we permit LowerRange indexing to go 1 past the bounds 
     
    19781982         should be in a "friends" interface *) 
    19791983    uncheckedSubstring(r0: Range[\ZZ32\]) : String 
     1984     
     1985    subdivide(): Maybe[\Generator[\(ZZ32, String)\]\] 
    19801986 
    19811987    (** The operator %||% with at least one String argument converts to string and