
22 Feb
2008
22 Feb
'08
4:45 p.m.
On Fri, 2008-02-22 at 14:27 -0800, Taral wrote:
On 2/22/08, Taral
wrote: reset :: (Prompt r -> r) -> r shift :: Prompt r -> ((a -> _) -> r) -> a
The point of the question is about shift/reset with *these types*. I know there are implementations with other types.
Nothing but sanity is stopping you. If you make a new language, you can do whatever you like. However, with shift and reset you can represent any effect, so you would utterly lose purity.