Trevor Rothaus

Results 8 comments of Trevor Rothaus

That's a good point. I updated the package name so it's importable. Here's a sample I used to test: http://play.golang.org/p/h4KTBGQqc8 I haven't used go generate. Do you have any examples...

I removed the change to suppress outputting package by default, so it's back to the original functionality. I also couldn't think of a nice way to structure this so that...

okay, updated per Matt's comment in the golang-nuts group (link in previous comment) Let me know what you think

I didn't know about non-empty list, that is neat to see. I like the idea of insertBefore and insertAfter. Maybe we should wait on the insertAll functions unless there is...

I thought it would be good to look around to see what other zipper libraries do. Looking at a Haskell lib: https://hackage.haskell.org/package/ListZipper-1.2.0.2/docs/Data-List-Zipper.html It has "insert" to insert before the cursor,...

I like the insertBefore, that makes sense to me. `delete` would have to return a `Maybe`, since there is no such thing as an empty Zipper here, right? If a...