<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >ForSyDe.Shallow.BitVector</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >ForSyDe.Shallow.BitVector</DIV ><DIV CLASS="mini-synopsis" ><H1 >Polynomial data type </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="ForSyDe-Shallow-BitVector.html#t%3ABitVector" TARGET="main" >BitVector</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="ForSyDe-Shallow-BitVector.html#t%3AParity" TARGET="main" >Parity</A > </DIV > <H1 >Bit-vector and integer transformations </H1 > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AintToBitVector" TARGET="main" >intToBitVector</A ></DIV > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AbitVectorToInt" TARGET="main" >bitVectorToInt</A ></DIV > <H1 >Add even/odd parity bit </H1 > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AaddEvenParityBit" TARGET="main" >addEvenParityBit</A ></DIV > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AaddOddParityBit" TARGET="main" >addOddParityBit</A ></DIV > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AaddParityBit" TARGET="main" >addParityBit</A ></DIV > <H1 >Remove parity bit </H1 > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AremoveParityBit" TARGET="main" >removeParityBit</A ></DIV > <H1 >Check the even/odd parity of the bit-vector </H1 > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AisEvenParity" TARGET="main" >isEvenParity</A ></DIV > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AisOddParity" TARGET="main" >isOddParity</A ></DIV > <H1 >Judge the form sanity of the bit-vector </H1 > <DIV CLASS="decl" ><A HREF="ForSyDe-Shallow-BitVector.html#v%3AisBitVector" TARGET="main" >isBitVector</A ></DIV ></DIV ></DIV ></BODY ></HTML >