Source code on Github
{-# OPTIONS --cubical-compatible #-}
module Class.HasAdd.Instance where

open import Class.HasAdd.Core
open import Data.Integer   as  using ()
open import Data.Nat       as  using ()
open import Data.Rational  as  using ()
open import Data.String    as Str

instance
  addInt : HasAdd 
  addInt ._+_ = ℤ._+_

  addNat : HasAdd 
  addNat ._+_ = ℕ._+_

  addRat : HasAdd 
  addRat ._+_ = ℚ._+_

  addString : HasAdd String
  addString ._+_ = Str._++_