blob: 6a2c6f442a2595bb149ecb6ff0e13694ccb7dc12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
concrete NQueensAscii of NQueens = NatAscii ** {
lincat Matrix, Vec = Str ;
Constr, Sat = {} ;
lin nilV _ _ = "" ;
consV _ _ f _ l _ v = f ++ "X" ++ l ++ "\n" ++ v ;
matrix _ v = v ;
}
|