A Notation for Comonads
- π€ Speaker: Dominic Orchard (University of Cambridge)
- π Date & Time: Wednesday 29 August 2012, 15:00 - 15:45
- π Venue: GS15, Computer Laboratory
Abstract
The category-theoretic concept of a monad is applied widely as a design pattern for functional programs involving effects. The utility and ubiquity of monads is such that some languages provide syntax to simplify use of this pattern. Comonads, the dual of monads, can be similarly used as a design pattern in functional programming, yet remain relatively under-utilised compared with monads. There are several useful examples of comonads but a lack of syntactic sugar prevents wider adoption and indeed further understanding of comonads as an abstraction mechanism. We propose a lightweight syntax for programming with comonads in Haskell, analogous to the do-notation for monads, accompanied by examples of comonads in the notation.
This is a practise talk for IFL ‘12. Joint work with Alan Mycroft.
Series This talk is part of the Computer Laboratory Programming Research Group Seminar series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge talks
- Computer Laboratory Programming Research Group Seminar
- Department of Computer Science and Technology talks and seminars
- GS15, Computer Laboratory
- Interested Talks
- School of Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)


Wednesday 29 August 2012, 15:00-15:45