[Haskell-cafe] Invertible functions list
westondan at imageworks.com
Mon Dec 28 22:41:24 EST 2009
This might be pertinent:
Alimarine et al, "There and Back Again: Arrows for Invertible Programming"
Jonathan Fischoff wrote:
> I would to create a list of tuples (or something similar) of invertible
> [((a -> b), (b -> a)), ((b -> c), (c -> b)), ....
> Such that I could call
> forward invertibleFuctionList domainValue = ? -- composite all the functions
> backward invertibleFuctionList rangeValue =
> forward (reverse invertibleFuctionList) rangeValue -- or something
> I would also like to concat them. This sounds like a job for GADT that
> someone might have already tackled. Any ideas?
More information about the Haskell-Cafe