@dibblego Awyea Hole driven development for the win mover (Z _ _ []) = Nothing and mover (Z le x r) = Just (Z (le ++ [x]) (head r) (tail r))
@clinton_freeman The list [1,2,3,4,5,6] with focus at 4 has zipper Z [3,2,1] 4 [4,5,6]
-
-
@dibblego I see that is a bit different to the test case we were working on. -
@clinton_freeman maybe I gave you the wrong test in a rush sorry! - Show replies
New conversation -
-
-
@dibblego@clinton_freeman cool, I never realised that (just checked with Scalaz)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.