Re: [Haskell-cafe] Re: ANN: diagrams 0.2

2009-02-06 Thread Gwern Branwen
On Fri, Feb 6, 2009 at 1:13 PM, Chaddaï Fouché wrote: > On Wed, Feb 4, 2009 at 4:56 PM, Gwern Branwen wrote: >> >> Now, to implement it, I would probably say to myself, "well, we'll >> create a temporary file, we'll write some basic imports into it, then >> we'll write the user's expression into

Re: [Haskell-cafe] Re: ANN: diagrams 0.2

2009-02-06 Thread Chaddaï Fouché
On Wed, Feb 4, 2009 at 4:56 PM, Gwern Branwen wrote: > > Now, to implement it, I would probably say to myself, "well, we'll > create a temporary file, we'll write some basic imports into it, then > we'll write the user's expression into it as the definition of a > function 'foo', and main will be

Re: [Haskell-cafe] Re: ANN: diagrams 0.2

2009-02-04 Thread Gwern Branwen
On Sun, Feb 1, 2009 at 1:37 AM, John MacFarlane wrote: > Not too hard, I think. Here's code for something similar (for graphviz > diagrams), derived from plugins/DotPlugin.hs in SVN pandoc. > >transform :: Block -> IO Block >transform (CodeBlock (id, classes, namevals) contents) | "dot" `

Re: [Haskell-cafe] Re: ANN: diagrams 0.2

2009-01-31 Thread Gwern Branwen
On Sat, Jan 31, 2009 at 6:45 PM, Brent Yorgey wrote: > On Sat, Jan 31, 2009 at 06:23:29PM -0500, Braden Shepherdson wrote: >> Brent Yorgey wrote: >>> I am very pleased to announce the 0.2 release of the diagrams package, >> >> Would this make a handy plugin for gitit? I'm currently putting diagram

Re: [Haskell-cafe] Re: ANN: diagrams 0.2

2009-01-31 Thread Brent Yorgey
On Sat, Jan 31, 2009 at 06:23:29PM -0500, Braden Shepherdson wrote: > Brent Yorgey wrote: >> I am very pleased to announce the 0.2 release of the diagrams package, > > Would this make a handy plugin for gitit? I'm currently putting diagrams > together in xfig and saving them to my gitit tree while