definition:
|
withSessionCookieInfo :: HtmlPage -> IO HtmlPage
withSessionCookieInfo p = do
hassession <- doesSessionExist
if hassession then withSessionCookie p
else cookieInfoPage
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Decorates an HTML page with session cookie and shows an information
--- page when the session cookie is not set.
|
failfree:
|
<FAILING>
|
indeterministic:
|
might be indeterministic
|
infix:
|
no fixity defined
|
iotype:
|
{(_) |-> _}
|
name:
|
withSessionCookieInfo
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
HTML.Base.HtmlPage -> Prelude.IO HTML.Base.HtmlPage
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|