typeclassopedia: a glimpse of functors.
add convenience function to create listeners.