hello stefan (& list), > i was wondering how to inject events from external > sources (controllers, etc.) into a pattern. i was > about to extend P with an environment parameter that > can be modified between 'step' invocations, but maybe > there's a better (existing) way to accomplish > this.
there are some patches in the history that generalise the pattern state (ie. P a => P s a). however these weren't very helpful... i'd gratefully accept any better work! > any thoughts? i am not super convinced about the implementation of 'patterns' in hsc3-lang. it was written when working on a chapter for the sc3 book (we missed the deadline!) as a kind of 'proof of concept' and it's never been seriously used (as far as i know). for my own work plain haskell has in the end been concise enough. if you continue working with it i'd be interested in any changes that you make, and if there is anything i can do to help let me know. bests rohan _______________________________________________ haskell-art mailing list [email protected] http://lists.lurk.org/mailman/listinfo/haskell-art
