On 12/8/06, Kurt Schelfthout <[EMAIL PROTECTED]> wrote:
Hi Haskell'ers,
class Activity a c where
start :: c -> a -> Time --start of the activity (this isn't
actually dependent on c, I guess)
end :: c -> a -> Time --end of the activity
delta :: a -> Time ->
Hello Kurt,
Friday, December 8, 2006, 1:11:35 PM, you wrote:
> I'm trying, more as a first excercise in Haskell than anything else, to
> class Activity a c where
seems like your goes from OOP world? :) type classes are pretty rare birds
in Haskell programs. There are other ways to implement suc
Dear Kurt,
> I'm trying, more as a first excercise in Haskell than anything else,
> to code a simulation framework in Haskell.
I don't have the time to respond to your mail in detail right now,
but you might want to have a look at the work on Fran (functional
reactive animation), FRP (Functional
Hi Haskell'ers,
I'm trying, more as a first excercise in Haskell than anything else, to
code a simulation framework in Haskell. A simulation is a bunch of
simulation state consisting of constituents (e.g. physical entities like a
ball or properties like temperature), on which agents (e.g. s