[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strict promises?

This page is part of the web mail archives of SRFI 45 from before July 7th, 2015. The new archives for SRFI 45 contain all messages, not just those from before July 7th, 2015.

I just found myself wanting to create a promise, but not to delay its
evaluation.  I could do

  (let ((p (delay <expression>)))
    (force p)

but that would needlessly compute and complicate.  STRICT would do just
what I want.  Why was STRICT not provided in the first place, in fact?