[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] State machine using call/cc
From: |
Joel Reymont |
Subject: |
Re: [Chicken-users] State machine using call/cc |
Date: |
Wed, 8 Dec 2004 17:29:40 +0000 |
>[Ed Watkeys wrote:]
>I think Felix's suggestion, returning the next procedure to execute or
>placing it in a hash table -- might be simpler. You could use a closure
>and lambda to save your state. This is sort of like using currying (see
>Haskell). Someone else might have discussed this but here's an example:
Thank you Ed and Felix! I'll try to come up with something and post it
here for review.
Thanks, Joel
--
OpenPoker: The Linux of poker software
http://wagerlabs.com/forums