mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-29 12:48:54 -06:00
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