braid-0.1.0.0: Types and functions to work with braids and Khovanov homology.

Util

deleteAt :: Int -> [a] -> [a] Source

maybeTuple :: Maybe (a, b) -> (Maybe a, Maybe b) Source

compose :: [a -> a] -> a -> a Source

graph :: (a -> b) -> a -> (a, b) Source

isNotASubsetOf :: Ord k => Set k -> Set k -> Bool Source

getSubmap :: (Ord k, Foldable f) => Map k a -> f k -> Map k a Source

deleteKeys :: (Ord k, Foldable f) => Map k a -> f k -> Map k a Source

cartesian :: [a] -> [b] -> [(a, b)] Source

exp :: Monoid a => a -> Int -> a Source