[Haskell-cafe] Re: [Haskell-beginners] Re: Accounting Engine in Haskell

Patrick LeBoutillier patrick.leboutillier at gmail.com
Thu Jun 17 14:40:14 EDT 2010

Thanks, I'll try to look it up.

I have a question about the representation. In the paper, the authors
define a Region as:

type Region = Point -> Bool
type Point = (Float,Float)

I understand the idea that representing Regions as functions is quite
interesting when it comes to combining and manipulating them.
But what if one wants to calculate the area of a Region or render it
in some fashion?



On Thu, Jun 17, 2010 at 11:24 AM, Stephen Tetley
<stephen.tetley at gmail.com> wrote:
> On 17 June 2010 16:12, Patrick LeBoutillier
> <patrick.leboutillier at gmail.com> wrote:
>> This paper was very interesting to me. Does anyone know if the full source code
>> for the Haskell prototype is available somewhere?
> Chapter 8 of Paul Hudak's School of Expression contains a version of
> the "region algebra", there's also an ML version by Samuel Kamin where
> the region combinators generate C++ code:
> Samuel Kamin - Standard ML as a Meta-Programming Language:
> http://loome.cs.uiuc.edu/pubs.html
> http://loome.cs.uiuc.edu/pubs/ml-meta.pdf
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

Patrick LeBoutillier
Rosemère, Québec, Canada

More information about the Beginners mailing list