-- Kostra 4. domaci ulohy IB015 -- Po vyreseni cely obsah souboru vlozte do odpovedniku. -- Nejprve zadefinujte typovy alias Bitvec -- (az po jeho definici bude mozne projekt zkompilovat) type Bitvec = undefined -- Nasledujici funkce mate za ukol implementovat. toBitvec :: String -> Bitvec toBitvec = undefined fromBitvec :: Bitvec -> String fromBitvec = undefined bvnot :: Bitvec -> Bitvec bvnot = undefined bvand :: Bitvec -> Bitvec -> Bitvec bvand = undefined bvor :: Bitvec -> Bitvec -> Bitvec bvor = undefined bvxor :: Bitvec -> Bitvec -> Bitvec bvxor = undefined resize :: Int -> Bitvec -> Bitvec resize = undefined zero :: Int -> Bitvec zero = undefined rotRight :: Int -> Bitvec -> Bitvec rotRight = undefined rotLeft :: Int -> Bitvec -> Bitvec rotLeft = undefined shiftRight :: Int -> Bitvec -> Bitvec shiftRight = undefined shiftLeft :: Int -> Bitvec -> Bitvec shiftLeft = undefined add :: Bitvec -> Bitvec -> Bitvec add = undefined