RE: Shooting yourself in the foot, a contribution

23 May
2003
23 May
'03
8:49 a.m.
In Haskell, it's provably impossible to shoot yourself in the foot without using unsafeShootSelfInFoot. Curiously, this doesn't stop people using unsafeShootSelfInFoot in released software.
You can always use shootSelfInFootIO, but you need to be in the IO monad and use the MutableFoot type. The purely functional version, shootSelfInFoot, requires human cloning and won't be available for a couple of releases. Cheers, Simon
8034
Age (days ago)
8034
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow