Show
Ignore:
Timestamp:
07/03/09 00:18:48 (5 months ago)
Author:
emoken
Message:

GoGs? for 2D arrays (modified)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Library/Generator22D.fsi

    r3917 r3919  
    7979rects[\ E, nat b0, nat s0, nat b1, nat s1 \](g : Array2[\E, b0, s0, b1, s1\]) : Rects[\E, b0, s0, b1, s1\] 
    8080 
     81trait AbideWith[\T\] end 
     82 
     83trait SomeMSS2DTuple[\T\] end 
     84 
     85mssBody[\T\](v:T) : SomeMSS2DTuple[\T\]  
     86 
     87object MSS2DReductionAbove[\T\](op, ot) extends { AssociativeReduction[\SomeMSS2DTuple[\T\]\], AbideWith[\MSS2DReductionBeside[\T\]\] } 
     88  getter asString(): String 
     89  simpleJoin(x: SomeMSS2DTuple[\T\], y: SomeMSS2DTuple[\T\]): SomeMSS2DTuple[\T\] 
    8190end 
     91 
     92object MSS2DReductionBeside[\T\](op, ot) extends { AssociativeReduction[\SomeMSS2DTuple[\T\]\], AbideWith[\MSS2DReductionAbove[\T\]\] } 
     93    getter asString(): String  
     94    simpleJoin(x: SomeMSS2DTuple[\T\], y: SomeMSS2DTuple[\T\]): SomeMSS2DTuple[\T\]  
     95end 
     96 
     97end