/usr/share/cafeobj-1.5/lib/bool+.cafe is in cafeobj 1.5.7-1.
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 | #|
BOOL+ provides printing facility in 'grind' form.
Useful for examining complex xor-and normal form
of Bool sorted term in run time.
|#
module! BOOL+ {
including(BOOL)
** builtin special op for printing xor-and terms
op bgrind : Bool -> Bool { strat: (1 0) }
op bgrind+ : Bool -> Bool { strat: (1 0) }
eq bgrind(B:Bool) = #!! (bgrind-bool-term B) .
eq bgrind+(B:Bool) = #!! (bgrind-bool-term B :always) .
}
provide bool+
eof
|