Re: Another question about monads and linearity

1997-09-03 Thread reid-alastair
Patrick Logan <[EMAIL PROTECTED]> writes: > In "Rolling Your Own Mutable ADT: A Connection Between Linear Types > and Monads", p. 1, Chen and Hudak write: > > There are few formal connections between monads and > single-threaded state... For any state-transformer monad... there > is

Another question about monads and linearity

1997-09-03 Thread Patrick Logan
In "Rolling Your Own Mutable ADT: A Connection Between Linear Types and Monads", p. 1, Chen and Hudak write: There are few formal connections between monads and single-threaded state... For any state-transformer monad... there is a trivial operation... that will instantly destroy any

Re: Monads and Linear Logic

1997-09-03 Thread Philip Wadler
> In general laymen's terms, what are the performance and expressiveness > issues in comparing monads with linear objects? You may want to glance at the latest version of `How to Declare an Imperative' (Computing Surveys, to appear), which explicitly makes this comparison. It's available via my

Monads and Linear Logic

1997-09-03 Thread Patrick Logan
I am stretching my imperative brain cells to comprehend(!) monads, and now their relationship to linear ("unique" in Clean) objects. I have glanced at Philip Wadler's paper, but the semantics are impenetrable to me at this point, and I am looking at the issue from a more "practical" point of view