{-# OPTIONS --safe #-}
module Cubical.HITs.SequentialColimit.Base where

open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat

private
  variable
     : Level

record Sequence ( : Level) : Type (ℓ-suc ) where
  field
    obj :   Type 
    map : {n : }  obj n  obj (1 + n)

open Sequence

data SeqColim (X : Sequence ) : Type  where
  incl : {n : }  X .obj n  SeqColim X
  push : {n : } (x : X .obj n)  incl x  incl (X .map x)