/usr/share/doc/racket/racklog/blueboxes.rktd is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | 2580
((3) 0 () 1 ((q lib "racklog/main.rkt")) () (h ! (equal) ((c form c (c (? . 0) q %which)) q (479 . 5)) ((c def c (c (? . 0) q %fail)) q (1197 . 2)) ((c def c (c (? . 0) q _)) q (1067 . 2)) ((c def c (c (? . 0) q logic-var?)) q (0 . 3)) ((c def c (c (? . 0) q compound?)) q (229 . 3)) ((c form c (c (? . 0) q %let)) q (1097 . 4)) ((c def c (c (? . 0) q unifiable?)) q (284 . 3)) ((c form c (c (? . 0) q %assert!)) q (863 . 5)) ((c def c (c (? . 0) q %true)) q (1220 . 2)) ((c def c (c (? . 0) q %/==)) q (1750 . 4)) ((c def c (c (? . 0) q %append)) q (2433 . 5)) ((c def c (c (? . 0) q %repeat)) q (1243 . 2)) ((c def c (c (? . 0) q %=/=)) q (2112 . 4)) ((c form c (c (? . 0) q %rel)) q (665 . 8)) ((c def c (c (? . 0) q %>)) q (2274 . 4)) ((c form c (c (? . 0) q %or)) q (1317 . 4)) ((c def c (c (? . 0) q %melt)) q (3427 . 4)) ((c form c (c (? . 0) q !)) q (1188 . 2)) ((c form c (c (? . 0) q %cut-delimiter)) q (1157 . 2)) ((c def c (c (? . 0) q %<)) q (1953 . 4)) ((c def c (c (? . 0) q %not)) q (1358 . 3)) ((c def c (c (? . 0) q %>=)) q (2353 . 4)) ((c def c (c (? . 0) q %melt-new)) q (3505 . 4)) ((c form c (c (? . 0) q %and)) q (1275 . 4)) ((c def c (c (? . 0) q %if-then-else)) q (1407 . 5)) ((c form c (c (? . 0) q %assert-after!)) q (962 . 5)) ((c def c (c (? . 0) q atom?)) q (116 . 3)) ((c def c (c (? . 0) q %==)) q (1670 . 4)) ((c def c (c (? . 0) q %var)) q (3238 . 3)) ((c def c (c (? . 0) q %bag-of)) q (2837 . 5)) ((c def c (c (? . 0) q %freeze)) q (3347 . 4)) ((c def c (c (? . 0) q %nonvar)) q (3291 . 3)) ((c def c (c (? . 0) q %compound)) q (3122 . 3)) ((c def c (c (? . 0) q %<=)) q (2032 . 4)) ((c def c (c (? . 0) q %member)) q (2543 . 4)) ((c def c (c (? . 0) q %empty-rel)) q (799 . 3)) ((c def c (c (? . 0) q %constant)) q (3180 . 3)) ((c def c (c (? . 0) q %/=)) q (1590 . 4)) ((c def c (c (? . 0) q use-occurs-check?)) q (1852 . 4)) ((c def c (c (? . 0) q atomic-struct?)) q (56 . 3)) ((c def c (c (? . 0) q %set-of-1)) q (2731 . 5)) ((c def c (c (? . 0) q %set-of)) q (2627 . 5)) ((c def c (c (? . 0) q %bag-of-1)) q (2941 . 5)) ((c def c (c (? . 0) q %copy)) q (3587 . 4)) ((c form c (c (? . 0) q %find-all)) q (586 . 5)) ((c form c (c (? . 0) q %free-vars)) q (3047 . 5)) ((c def c (c (? . 0) q compound-struct?)) q (167 . 3)) ((c def c (c (? . 0) q %=:=)) q (2193 . 4)) ((c def c (c (? . 0) q %more)) q (555 . 2)) ((c def c (c (? . 0) q answer?)) q (399 . 3)) ((c def c (c (? . 0) q %=)) q (1511 . 4)) ((c def c (c (? . 0) q answer-value?)) q (340 . 3)) ((c def c (c (? . 0) q goal/c)) q (452 . 2)) ((c form c (c (? . 0) q %is)) q (1831 . 2))))
procedure
(logic-var? x) -> boolean?
x : any/c
procedure
(atomic-struct? x) -> boolean?
x : any/c
procedure
(atom? x) -> boolean?
x : any/c
procedure
(compound-struct? x) -> boolean?
x : any/c
procedure
(compound? x) -> boolean?
x : any/c
procedure
(unifiable? x) -> boolean?
x : any/c
procedure
(answer-value? x) -> boolean?
x : any/c
procedure
(answer? x) -> boolean?
x : any/c
value
goal/c : contract?
syntax
(%which (V ...) G ...)
V : identifier?
G : goal/c
procedure
(%more) -> answer?
syntax
(%find-all (V ...) G ...)
V : identifier?
G : goal/c
syntax
(%rel (V ...) clause ...)
clause = [(E ...) G ...]
V : identifier?
E : expression?
G : goal/c
procedure
(%empty-rel E ...) -> goal/c
E : unifiable?
syntax
(%assert! Pname (V ...) clause ...)
Pname : identifier?
V : identifier?
syntax
(%assert-after! Pname (V ...) clause ...)
Pname : identifier?
V : identifier?
procedure
(_) -> logic-var?
syntax
(%let (V ...) expr ...)
V : identifier?
syntax
(%cut-delimiter . any)
syntax
!
value
%fail : goal/c
value
%true : goal/c
procedure
(%repeat) -> goal/c
syntax
(%and G ...)
G : goal/c
syntax
(%or G ...)
G : goal/c
procedure
(%not G) -> goal/c
G : goal/c
procedure
(%if-then-else G1 G2 G3) -> goal/c
G1 : goal/c
G2 : goal/c
G3 : goal/c
procedure
(%= E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%/= E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%== E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%/== E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
syntax
(%is E1 E2)
parameter
(use-occurs-check?) -> boolean?
(use-occurs-check? on?) -> void?
on? : boolean?
procedure
(%< E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%<= E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%=/= E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%=:= E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%> E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%>= E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%append E1 E2 E3) -> goal/c
E1 : unifiable?
E2 : unifiable?
E3 : unifiable?
procedure
(%member E1 E2) -> goal/c
E1 : unifiable?
E2 : unifiable?
procedure
(%set-of E1 G E2) -> goal/c
E1 : unifiable?
G : goal/c
E2 : unifiable?
procedure
(%set-of-1 E1 G E2) -> goal/c
E1 : unifiable?
G : goal/c
E2 : unifiable?
procedure
(%bag-of E1 G E2) -> goal/c
E1 : unifiable?
G : goal/c
E2 : unifiable?
procedure
(%bag-of-1 E1 G E2) -> goal/c
E1 : unifiable?
G : goal/c
E2 : unifiable?
syntax
(%free-vars (V ...) G)
V : identifier?
G : goal/c
procedure
(%compound E) -> goal/c
E : unifiable?
procedure
(%constant E) -> goal/c
E : unifiable?
procedure
(%var E) -> goal/c
E : unifiable?
procedure
(%nonvar E) -> goal/c
E : unifiable?
procedure
(%freeze S F) -> goal/c
S : unifiable?
F : unifiable?
procedure
(%melt F S) -> goal/c
F : unifiable?
S : unifiable?
procedure
(%melt-new F S) -> goal/c
F : unifiable?
S : unifiable?
procedure
(%copy F S) -> goal/c
F : unifiable?
S : unifiable?
|