Show
Ignore:
Timestamp:
04/15/09 10:34:48 (7 months ago)
Author:
jmaessen
Message:

[libraries, demos] Replace emptyList[\T\]() by <|[\T\] |> throughout,
except within List and PureList themselves.

Location:
trunk/ProjectFortress/tests
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/tests/ListNullPointer.fss

    r3550 r3645  
    2323 
    2424run():() = do 
    25   testLens : List[\ZZ32\] = emptyList[\ZZ32\]() 
     25  testLens : List[\ZZ32\] = <|[\ZZ32\] |> 
    2626  s0 = testLens.generate[\Number\](SumReduction, identity[\Number\]) 
    2727  assert(s0,0,"Sum s0") 
  • trunk/ProjectFortress/tests/ListTest.fss

    r3550 r3645  
    2525run():() = do 
    2626    list'  = emptyList[\ZZ32\]().addLeft(7).addLeft(5).addLeft(3) 
    27     list'' = emptyList[\ZZ32\]().addRight(8).addRight(6).addRight(4) 
     27    list'' = <|[\ZZ32\] |>.addRight(8).addRight(6).addRight(4) 
    2828 
    2929    assert(|list'|,3," |list'|")