[ab] API Status
Luke Crook
luke at balooga.com
Mon Jan 8 18:40:21 CST 2007
Samium Gromoff <_deepfire at ...> writes:
> If you make coords compound, you'd have to provide the compound operations --
> sum, scale, min, max, etc etc.
Good point.
>
> Now, i think compound makes more sense, in general.
>
> OTOH, choosing a certain compound format is going to shovel that down
> everybody`s throats, so it has to be designed carefully.
>
> For the code i use, i have choosed a type (cons fixnum fixnum) as the
> compound representation. If you wish i might send you the code...
The point code that exists in lispbuilder-sdl makes use of vectors. So #(10
10), (vector 10 10), or (point 10 10) all do the same thing.
Do you have code for the compound operations?
- Luke
More information about the application-builder
mailing list