satchmo-2.8.2: SAT encoding monad
Satchmo.Unary
Synopsis
data Number Source
Instances
bits :: Number -> [Boolean] Source
contents is [ 1 .. 1 0 .. 0 ] number of 1 is value of number
make :: [Boolean] -> Number Source
width :: Number -> Int Source
number :: MonadSAT m => Int -> m Number Source
declare a number with range (0, w)
constant :: MonadSAT m => Integer -> m Number Source
module Satchmo.Unary.Op.Flexible