{-# LANGUAGE TypeFamilies #-}{-# LANGUAGE FlexibleContexts #-}{-# LANGUAGE AllowAmbiguousTypes #-}{-# LANGUAGE TypeInType #-}{-# OPTIONS_GHC -Wno-missing-signatures #-}module Main whereimport Freelude.Impl.Categoryimport Freelude.Impl.ExoFunctorimport Prelude hiding ((.), fmap, pure, (=<<))main :: IO ()main = pure ()f1 :: (IsSemigroupoid t1 p a2 a3, IsSemigroupoid t2 p a1 a2, IsSemigroupoid t3 p a1 a3) => t1 -> t2 -> t3f1 x y = x . yf1' x y = x . yf2 :: (IsSemigroupoid t1 p a3 a4, IsSemigroupoid t2 p a2 a3, IsSemigroupoid t3 p a1 a2, IsSemigroupoid t4 p a1 a4) => t1 -> t2 -> t3 -> t4f2 x y z = x . y . zf2' x y z = x . y . zf3 x y = fmap x . fmap yf3' x y = fmap x . fmap yf4 x y = fmap (x . y)f4' x y = fmap (x . y)g :: a -> a -> ag = undefinedf5 x y = g (f3 x y) (f4 x y)f6 x y = exomap x . exomap yf6' x y = exomap x . exomap yf7 x y = exomap (x . y)f7' x y = exomap (x . y)f8 x y = g (f6 x y) (f7 x y)