module Main where import A (type (~>), type (/\), (/\)) import Effect.Console (log) natty ∷ ∀ f. f ~> f natty x = x data Compose f g a = Compose (f (g a)) testPrecedence1 ∷ ∀ f g. Compose f g ~> Compose f g testPrecedence1 x = x testPrecedence2 ∷ ∀ f g. f ~> g → f ~> g testPrecedence2 nat fx = nat fx swap ∷ ∀ a b. a /\ b → b /\ a swap (a /\ b) = b /\ a main = log "Done"