[Haskell-cafe] Library pretty print values in Tabular format

Heinrich Apfelmus apfelmus at quantentunnel.de
Fri Sep 30 20:17:44 UTC 2016

I like it!

One feature I would like to see: Have you considered aligning decimal 
points? I.e. an output along the lines of

ticker     price          marketCap
  "YHOO"      42.2910101     0.40   e11
  "GOOG"     774.210101      5.3209 e11
  "AMZN"     799.161717      3.7886 e11

or something like that. In this format, it is easier to survey the order 
of magnitude of a quantity. Then again, exponents `e10` may be trickier 
to handle.

Best regards,
Heinrich Apfelmus


Gurudev Devanla wrote:
> Hello All,
> I am happy to publish a new library on Hackage that lets one print values 
> contained in lists, maps, vectors in a tabular format. This is motivated 
> from the output I am used to seeing while using the Pandas library in 
> Python. This is my first Haskell library and I look forward to feedback and 
> suggestions on improving the library.
> https://hackage.haskell.org/package/pptable
> https://github.com/gdevanla/pptable#readme
> One thing, which I right away do not like about the library is the 
> constraints where the values will have to derive from both Data.Data and 
> GHC.Generic.Generics.
> Thank you and I look forward to some feedback.
> Regards
> Guru
> P.S:  I spent a lot of time trying to  make Hackage produce the haddock 
> links. Any pointers to that would be helpful.  And "stack sdist" does not 
> package the documentation automatically.
> ------------------------------------------------------------------------
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

More information about the Haskell-Cafe mailing list