[Haskell-cafe] Library pretty print values in Tabular format
Tony Day
tonyday567 at gmail.com
Fri Sep 30 20:28:49 UTC 2016
Would it be possible to go polymorphic on the container shape? Eg Rather
than having toBoxVector etc, create a Traversable a => Boxable a class with
a toBox method etc.
If you go aligning decimals, the Formatting library would come in handy.
On Sat, Oct 1, 2016 at 6:18 AM Heinrich Apfelmus <apfelmus at quantentunnel.de>
wrote:
> 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
>
> --
> http://apfelmus.nfshost.com
>
>
> 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.
>
> _______________________________________________
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160930/1641a34a/attachment.html>
More information about the Haskell-Cafe
mailing list