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

open import Cubical.Foundations.Prelude

open import Cubical.Algebra.Semilattice

open import Cubical.Categories.Category
open import Cubical.Categories.Instances.Poset

open Category


module _ {} (L : Semilattice ) where
  open JoinSemilattice L

  JoinSemilatticeCategory : Category  
  JoinSemilatticeCategory = PosetCategory IndPoset


module _ {} (L : Semilattice ) where
  open MeetSemilattice L

  MeetSemilatticeCategory : Category  
  MeetSemilatticeCategory = PosetCategory IndPoset