B-but, (and here's the ironic part), launchMissile is only idempotent it the
missile is atomic.

--S

2008/1/18 Brent Yorgey <[EMAIL PROTECTED]>:

>
> On Jan 18, 2008 4:59 AM, Ketil Malde <[EMAIL PROTECTED]> wrote:
>
> > apfelmus <[EMAIL PROTECTED]> writes:
> >
> > >> I imagine this can only ease the process of learning Haskell, and
> > >> broaden the base of possible Haskellers, as more people on using .NET
> > >> stuff become familiar with modern typed FP.
> >
> > > There's a reason the STM monad hatched in Haskell: how does the above
> > > STM in F# handle side-effects like  launchMissile ?
> >
> > If you read the comments at the bottom, it seems it does not.  Expect
> > an arbitrary number of missiles (although the final effect of
> > destroying the target city will perhaps be the same).
> >
>
> That's only because launchMissile is idempotent.
>
> -Brent
>
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to