1
0
forked from GitHub/gf-core

use "-" and ";" instead of "_" and "\n" in NQueens

This commit is contained in:
krasimir
2010-10-13 13:47:22 +00:00
parent 7fc638e030
commit 354838807f
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ lincat Matrix, Vec = Str ;
ListNat, Sat = {} ;
lin nilV _ _ = "" ;
consV _ j k _ _ v = j ++ "X" ++ k ++ "\n" ++ v ;
consV _ j k _ _ v = j ++ "X" ++ k ++ ";" ++ v ;
matrix _ v = v ;

View File

@@ -3,8 +3,8 @@ concrete NatAscii of Nat = {
lincat Nat = Str ;
lin zero = "" ;
succ n = "_" ++ n ;
succ n = "-" ++ n ;
lincat NE = {} ;
}
}