fp-course
fp-course copied to clipboard
L04.ListZipper.getFocus
A function like
getFocus :: ListZipper' f => f a -> a
would seem to fit with the other *Focus functions and would make writing some tests simpler :) I see it's in the Comonad instance for ListZipper but that's almost at the end of the file.