algorithm-in-python/dynamicProgramming/testVec2d.hs

8 lines
159 B
Haskell
Raw Permalink Normal View History

2018-08-29 15:52:02 +08:00
import Vec2d
main = do
let d=[1..10]
ll = [[(i,j)| i<-[1..5]] | j<-['a'..'g']]
print (Vec (2,5) d)
print (Vec (5,2) d)
print (Vec2 ll)