Skip to contents

Take a function and apply it to the comonad's attribute

Usage

# S3 method for cofree.comonad
extend(cfr, f)

Arguments

cfr

A cofree comonad

f

A function to apply to the cofree comonad's attribute