blob: 1b33a0463030a2a049d5b2afb7b618594c921ed0 (
plain)
1
2
3
4
5
6
7
8
9
|
Perform a CAS within an IORef
1st try should succeed: (True,44)
2nd should fail: (False,44)
Perform a CAS within a MutableArray#
1st try should succeed: (True,44)
2nd should fail: (False,44)
Printing array:
33 33 33 44 33
Done.
|