forked from GitHub/gf-core
add start category S in NQueens. This helps the EditorApp to find the start category
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
concrete NQueensAscii of NQueens = NatAscii ** {
|
||||
|
||||
lincat Matrix, Vec = Str ;
|
||||
lincat S, Matrix, Vec = Str ;
|
||||
ListNat, Sat = {} ;
|
||||
|
||||
lin queens m = m ;
|
||||
|
||||
lin nilV _ _ = "" ;
|
||||
consV _ j k _ _ v = j ++ "X" ++ k ++ ";" ++ v ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user