mirror of
https://github.com/heqin-zhu/algorithm.git
synced 2024-03-22 13:30:46 +08:00
8 lines
159 B
Haskell
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)
|