Sha256: cc6dcc05c9ca562a5b109d7d92d9abbeb41eb7adde8c6771bf679c9e204b45d9
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
(datatype binary if (element? X [0 1]) _____________ X : zero-or-one; X : zero-or-one; ________________ [X] : binary; X : zero-or-one; Y : binary; ____________________________ [X | Y] : binary; X : zero-or-one, [Y | Z] : binary >> P; ________________________________________ [X Y | Z] : binary >> P;) (define complement {binary --> binary} [0] -> [1] [1] -> [0] [1 N | X] -> [0 | (complement [N | X])] [0 N | X] -> [1 | (complement [N | X])])
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shen-ruby-0.12.1 | shen/release/test_programs/binary.shen |
shen-ruby-0.12.0 | shen/release/test_programs/binary.shen |
shen-ruby-0.11.0 | shen/release/test_programs/binary.shen |