algorithm-in-python/dynamicProgramming/testVec2d.hs
2018-10-02 21:24:06 +08:00

8 lines
159 B
Haskell

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)