Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Haskell and inplace sorting

by audreyt (Hermit)
on Apr 22, 2005 at 09:12 UTC ( #450311=note: print w/replies, xml ) Need Help??

in reply to Re^24: Why is the execution order of subexpressions undefined?
in thread Why is the execution order of subexpressions undefined?

Greetings. I'd just like to point out that Haskell can very well do side-effects inside the IO monad, including in-place sorting, down to pointer arithmetic with C structures. Ever since the Monadic Revolution, side effects in Haskell has become composable and distinguished from pure values, but every bit as usable as the equivalent C code.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://450311]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2016-10-28 17:50 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (386 votes). Check out past polls.