{-# OPTIONS --safe #-}
module Cubical.Categories.Instances.TypePrecategory where

open import Cubical.Foundations.Prelude

open import Cubical.Categories.Category.Precategory

open Precategory

-- TYPE precategory has types as objects
module _  where
  TYPE : Precategory (ℓ-suc ) 
  TYPE .ob           = Type 
  TYPE .Hom[_,_] A B = A  B
  TYPE .id           = λ x  x
  TYPE ._⋆_ f g      = λ x  g (f x)
  TYPE .⋆IdL f       = refl
  TYPE .⋆IdR f       = refl
  TYPE .⋆Assoc f g h = refl