B-but, (and here's the ironic part), launchMissile is only idempotent it the missile is atomic.
--S
On Jan 18, 2008 4:59 AM, Ketil Malde < ketil+haskell@ii.uib.no> wrote:That's only because launchMissile is idempotent.apfelmus <apfelmus@quantentunnel.de> writes:If you read the comments at the bottom, it seems it does not. Expect
>> 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 ?
an arbitrary number of missiles (although the final effect of
destroying the target city will perhaps be the same).
-Brent
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe