{-# OPTIONS --safe #-}
{-
  Successor structures for spectra, chain complexes and fiber sequences.
  This is an idea from Floris van Doorn's phd thesis.
-}
module Cubical.Structures.Successor where

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

private
  variable
     : Level

record SuccStr ( : Level) : Type (ℓ-suc ) where
  field
    Index : Type 
    succ : Index  Index

open SuccStr

ℤ+ : SuccStr ℓ-zero
ℤ+ .Index = 
ℤ+ .succ = sucℤ

ℕ+ : SuccStr ℓ-zero
ℕ+ .Index = 
ℕ+ .succ = suc