diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
| commit | f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch) | |
| tree | 946c9e8542b8e8271b6b529a95c0400fa6613cb4 /examples/nqueens/NQueens.gf | |
| parent | 8e1c6cca407c82fc09569d80c231b8d256735989 (diff) | |
Remove contribs and examples
Everything has now been moved to a separate repository at
https://github.com/GrammaticalFramework/gf-contrib
The contents of the examples folder are build during SetupWeb
Diffstat (limited to 'examples/nqueens/NQueens.gf')
| -rw-r--r-- | examples/nqueens/NQueens.gf | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/examples/nqueens/NQueens.gf b/examples/nqueens/NQueens.gf deleted file mode 100644 index 6eec8953f..000000000 --- a/examples/nqueens/NQueens.gf +++ /dev/null @@ -1,21 +0,0 @@ -abstract NQueens = Nat ** { - -cat S ; -cat Matrix Nat ; -cat [Nat] ; -cat Vec (s,l : Nat) [Nat] ; -cat Sat Nat Nat [Nat] ; - -data nqueens : (n : Nat) -> Matrix n -> S ; - -data nilV : ({s} : Nat) -> ({c} : [Nat]) -> Vec s zero c ; - consV : ({l},j,k : Nat) -> - let s = succ (plus j k) - in ({c} : [Nat]) -> Sat j (succ zero) c -> Vec s l (ConsNat j c) -> Vec s (succ l) c ; - - nilS : ({j,d} : Nat) -> Sat j d BaseNat ; - consS : ({i,j,d} : Nat) -> ({c} : [Nat]) -> NE i j -> NE i (plus d j) -> NE (plus d i) j -> Sat j (succ d) c -> Sat j d (ConsNat i c) ; - - matrix : ({s} : Nat) -> Vec s s BaseNat -> Matrix s ; - -} |
