tonymorris/fp-course

L04.ListZipper.getFocus

bens opened this issue · 0 comments

bens commented

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.