
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