Re: Tutorial/examples of pprint dispatch functions

2011-10-25 Thread Kevin Downey
https://gist.github.com/1314616 On Tue, Oct 25, 2011 at 6:33 AM, Alasdair MacLeod wrote: > Hello, > > Are there any tutorials or examples of setting up pprint dispatch > functions?  I know the docs suggest looking at the source, but I find > it a bit cryptic.  In particular I would like to see if

Tutorial/examples of pprint dispatch functions

2011-10-25 Thread Alasdair MacLeod
Hello, Are there any tutorials or examples of setting up pprint dispatch functions? I know the docs suggest looking at the source, but I find it a bit cryptic. In particular I would like to see if it's possible to dispatch on meta-data, record types or more arbitrary values in a map etc. thanks