Hehe, no problem Axel ;) Just glad to see that there are at least 3 of us on roughly the same page with the 'typeclass' idea.
I was impressed that you'd managed to come up with a solution to the Graph example by using an intermediate type, AdjacencyList, to implement both the Nodes() and Edges() methods. Even if it's a bit cumbersome compared to the contract based solution in the draft paper, it does demonstrate that an interface based approach can still have considerable power. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.