[Haskell-cafe] Re: STM in F#

Brent Yorgey byorgey at gmail.com
Fri Jan 18 11:05:39 EST 2008


On Jan 18, 2008 4:59 AM, Ketil Malde <ketil+haskell at ii.uib.no> wrote:

> apfelmus <apfelmus at quantentunnel.de> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080118/1d6a869b/attachment.htm


More information about the Haskell-Cafe mailing list