[Chart] data-accessor, lens, and Chart

Tim Docker tim at dockerz.net
Sat Mar 23 20:31:56 GMT 2013


On 23/03/13 22:54, Malcolm Wallace wrote:
> Well, I have my own DSL for creating charts, which eventually gets translated into the kind of stuff you have below, or native records, or whatever.  I don't much mind what the lower layer consists of, because in my world, I write:
>
>    linePointPlot [(2,3),(4,10),(5,105),(6,2013)]
>        |+| Title "Log/Linear example"
>        |+| XAxisLabel "horizontal"
>        |+| YAxisLabel "vertical"
>        |+| YAxisLogScale
> projects.haskell.org/cgi-bin/mailman/listinfo/chart
Interesting. What's the type signature of the |+| operator?

Tim



More information about the Chart mailing list