packages feed

tilia-0.2.0.0: corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor.hs

{-# LANGUAGE UnboxedSums #-}
{-# LANGUAGE UnboxedTuples #-}

module Loom.Pair where

pair :: a -> b -> (a, b)
pair = ( -- warp and weft
       , )

triple :: a -> b -> c -> (a, b, c)
triple = ( {- in the order they are threaded -} , , )

spool :: Int -> Int -> (# Int, Int #)
spool = (# {- length and width -} , #)

type Either' = (# {- one of two -} | #)

type Shuttle = ( {- from one side to the other -} -> ) Int Int