Definition free_abmonoidfun {X Y : hSet} (f : X → Y) : monoidfun (free_abmonoid X) (free_abmonoid Y) := free_abmonoid_extend (free_abmonoid_unit ∘ f).
Require Import UniMath.MoreFoundations.Subtypes. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.Algebra.Monoids. Require Import UniMath.Algebra.Groups. Require Import UniMath.Algebra.IteratedBinaryOperations. Require Import UniMath.Combinatorics.Lists.