[Haskell-cafe] "Prompt" Monad
ryani.spam at gmail.com
Tue Aug 12 13:28:58 EDT 2008
Latest code is on hackage:
There is a "sample" file with lots of other monads implemented in
terms of Prompt included, along with some links to other samples; I
seem to recall there being a "guess a number" game on paste.lisp.org
that used Prompt to switch between user control and AI control.
Let me know if you have any problems building it and I'll patch it up.
On Tue, Aug 12, 2008 at 5:50 AM, Martin Hofmann
<martin.hofmann at uni-bamberg.de> wrote:
> I just came across last year's thread about Ryan Ingram's "Prompt" monad
> ( http://firstname.lastname@example.org/msg33040.html )
> and wondered if it might be useful for debugging and program analysis
> purposes. In particular, I thought about enforcing program decisions
> interactively. Consider for example modifying the heuristic function of
> a search algorithm at specific breakpoints.
> Is this possible with the "Prompt" monad? Furthermore, could somebody
> post the full code of it (and maybe a short example how to use it if at
> hand)? I was not able to run the code from the previous posts and the
> referring links are dead.
> Thanks a lot,
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe