packages feed

tilia-0.2.0.0: corpora/vendored/expression/pattern/pattern-synonyms-named-by-operators.hs

{-# LANGUAGE PatternSynonyms #-}

module Vector.Polar where

pattern (:|) :: Double -> Double -> Pair
pattern (:|) x y = x :& y

pattern (:%) :: Double -> Double -> Pair
pattern (:%) {(%<), (%>)} = (%<) :& (%>)