Safe Haskell | None |
---|---|
Language | Haskell2010 |
- dump :: View a
- dbg :: Show a => View a
- moveCam :: (Conjugate a, Epsilon a, RealFloat a) => Set Key -> Camera a -> Camera a
- cnf :: (Foldable s, Foldable t) => s (t Bool) -> Bool
- cnfEndo :: (k -> s -> Bool) -> (k -> s -> s) -> [([[k]], a -> a)] -> s -> a -> a
- rpad :: Int -> a -> [a] -> [a]
- normalize :: (Fractional b, Monad m) => (b, b) -> Pipe b b m r
Documentation
moveCam :: (Conjugate a, Epsilon a, RealFloat a) => Set Key -> Camera a -> Camera a Source #
Translate and rotate a Camera
based on UI
input.
cnf :: (Foldable s, Foldable t) => s (t Bool) -> Bool Source #
Evaluate a boolean formula in conjunctive normal form (CNF) by applying the predicate to each atom according to the logic of its nesting in the formula.