subnet-0.0.1.2: subnetting calculator

Network.Subnet.Binary

Description

Bitnary helper shit

newtype Binary Source

Constructors

Fields

Instances

mkBinary :: String -> Binary Source

toBinary :: (Ord a, Num a) => a -> Binary Source

fromBinary :: Num a => Binary -> a Source

octet :: (Ord a, Num a) => a -> [Binary] Source

(.&&.) :: Binary -> Binary -> Binary Source

(.||.) :: Binary -> Binary -> Binary Source

binop :: (Num a, Ord a) => (a -> a -> a) -> Binary -> Binary -> Binary Source

(.+.) :: Binary -> Binary -> Binary Source

(.-.) :: Binary -> Binary -> Binary Source

addOne :: Binary -> Binary Source

addInt :: (Num a, Ord a) => a -> Binary -> Binary Source

base2 :: Num a => [a] Source

fixets :: Binary -> Binary Source

antifixets :: Binary -> Binary Source

modifyBinary :: (String -> String) -> Binary -> Binary Source