mios-1.3.0: A Minisat-based SAT solver in Haskell

Safe HaskellTrustworthy
LanguageHaskell2010

SAT.Mios.Data.VecBool

Contents

Description

Mutable Unboxed Boolean Vector

  • __VecBool::UV.IOVector Bool -- data type that contains a mutable list of elements

Synopsis

Documentation

type VecBool = IOVector Bool Source #

Mutable unboxed Bool Vector

newVecBool :: Int -> Bool -> IO VecBool Source #

returns a new VecBool

getNthBool :: VecBool -> Int -> IO Bool Source #

returns the nth value in VecBool

setNthBool :: VecBool -> Int -> Bool -> IO () Source #

sets the nth value

modifyNthBool :: VecBool -> (Bool -> Bool) -> Int -> IO () Source #

sets the nth value

Orphan instances