@@ -57,3 +57,14 @@ g f xs =
57>>> g f2 [1,2,3,4::Int]
57>>> g f2 [1,2,3,4::Int]
58[("1",2,0.5),("2",3,1.0),("3",4,1.5),("4",5,2.0)]
58[("1",2,0.5),("2",3,1.0),("3",4,1.5),("4",5,2.0)]
65+ Stream.fromList [1,2,3,4,5::Int]
66+& Stream.scan (Array.writeLastN 2)
69+[[],[1],[1,2],[2,3],[3,4],[4,5]]