packages feed

tilia-0.2.0.0: corpora/column-limit/written-across-lines-out'-40.hs

-- Constructs written across lines, each with one line that only the of, =
-- or , ending it takes past 100 columns.
module Loom.Across where

tension loom = case lookupTension
    (warpBeamOf loom)
    (clothBeamOf loom)
    (tensionTableOfTheLoom loom) of
    Just t -> t
    Nothing -> defaultTension

beat loom
    | hasWarp loom
        && hasWeft loom
        && tensionOf loom
            > minimumTension
        && isReady loom
        && isWound loom =
        Beaten
    | otherwise = Loose

cloth =
    Cloth
        { clothThreading =
            threadingFromShafts
                (shaftsOf defaultLoom)
                (warpEndsOf defaultLoom)
                [1 .. 16]
        , clothTreadling = []
        }