Difference between revisions of "Talk:Performance/Strictness"

From HaskellWiki
Jump to navigation Jump to search
(http://bldianna.interfree.it/resource-1794.html)
(removed)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
  +
I removed the following:
[hustler magazine models|http://bldianna.interfree.it/resource-1794.html] [[http://bldianna.interfree.it/resource-1794.html hustler magazine models]] [http://bldianna.interfree.it/resource-1794.html|hustler magazine models] ((http://bldianna.interfree.it/resource-1794.html hustler magazine models)) [[http://bldianna.interfree.it/resource-1794.html | hustler magazine models]] "hustler magazine models":http://bldianna.interfree.it/resource-1794.html [business impact questionnaire|http://enpasel.ifrance.com/1083327778.htm] [[http://enpasel.ifrance.com/1083327778.htm business impact questionnaire]] [http://enpasel.ifrance.com/1083327778.htm|business impact questionnaire] ((http://enpasel.ifrance.com/1083327778.htm business impact questionnaire)) [[http://enpasel.ifrance.com/1083327778.htm | business impact questionnaire]] "business impact questionnaire":http://enpasel.ifrance.com/1083327778.htm [journeyman electrician license school|http://labreann.interfree.it/journeyman-electrician.htm] [[http://labreann.interfree.it/journeyman-electrician.htm journeyman electrician license school]] [http://labreann.interfree.it/journeyman-electrician.htm|journeyman electrician license school] ((http://labreann.interfree.it/journeyman-electrician.htm journeyman electrician license school)) [[http://labreann.interfree.it/journeyman-electrician.htm | journeyman electrician license school]] "journeyman electrician license school":http://labreann.interfree.it/journeyman-electrician.htm [resume posting|http://clpatric.strefa.pl/rolfire-1284.html] [[http://clpatric.strefa.pl/rolfire-1284.html resume posting]] [http://clpatric.strefa.pl/rolfire-1284.html|resume posting] ((http://clpatric.strefa.pl/rolfire-1284.html resume posting)) [[http://clpatric.strefa.pl/rolfire-1284.html | resume posting]] "resume posting":http://clpatric.strefa.pl/rolfire-1284.html [diva in thongs|http://haschucka.interfree.it/news-diva-in-thongs-20081203.html] [[http://haschucka.interfree.it/news-diva-in-thongs-20081203.html diva in thongs]] [http://haschucka.interfree.it/news-diva-in-thongs-20081203.html|diva in thongs] ((http://haschucka.interfree.it/news-diva-in-thongs-20081203.html diva in thongs)) [[http://haschucka.interfree.it/news-diva-in-thongs-20081203.html | diva in thongs]] "diva in thongs":http://haschucka.interfree.it/news-diva-in-thongs-20081203.html
 
  +
<blockquote>NB. do not do this if the expression on the right of $! is a variable - that just wastes effort, because it does not eliminate a suspension. The only reason to do this would be if you were eliminating a space leak.</blockquote>
[map pokemon ruby|http://enpasel.ifrance.com/1087696525.htm] [[http://enpasel.ifrance.com/1087696525.htm map pokemon ruby]] [http://enpasel.ifrance.com/1087696525.htm|map pokemon ruby] ((http://enpasel.ifrance.com/1087696525.htm map pokemon ruby)) [[http://enpasel.ifrance.com/1087696525.htm | map pokemon ruby]] "map pokemon ruby":http://enpasel.ifrance.com/1087696525.htm [page|http://tpasrnrfi.ifrance.com/sitemap.html] [[http://tpasrnrfi.ifrance.com/sitemap.html page]] [http://tpasrnrfi.ifrance.com/sitemap.html|page] ((http://tpasrnrfi.ifrance.com/sitemap.html page)) [[http://tpasrnrfi.ifrance.com/sitemap.html | page]] "page":http://tpasrnrfi.ifrance.com/sitemap.html [soundtrack music video codes|http://miminerv.strefa.pl/20081204-soundtrack-music.html] [[http://miminerv.strefa.pl/20081204-soundtrack-music.html soundtrack music video codes]] [http://miminerv.strefa.pl/20081204-soundtrack-music.html|soundtrack music video codes] ((http://miminerv.strefa.pl/20081204-soundtrack-music.html soundtrack music video codes)) [[http://miminerv.strefa.pl/20081204-soundtrack-music.html | soundtrack music video codes]] "soundtrack music video codes":http://miminerv.strefa.pl/20081204-soundtrack-music.html [links|http://virosaur.strefa.pl/sitemap.html] [[http://virosaur.strefa.pl/sitemap.html links]] [http://virosaur.strefa.pl/sitemap.html|links] ((http://virosaur.strefa.pl/sitemap.html links)) [[http://virosaur.strefa.pl/sitemap.html | links]] "links":http://virosaur.strefa.pl/sitemap.html [pedicure chair|http://xlac4tr.ifrance.com/pedicure-chair-2008-11-28.htm] [[http://xlac4tr.ifrance.com/pedicure-chair-2008-11-28.htm pedicure chair]] [http://xlac4tr.ifrance.com/pedicure-chair-2008-11-28.htm|pedicure chair] ((http://xlac4tr.ifrance.com/pedicure-chair-2008-11-28.htm pedicure chair)) [[http://xlac4tr.ifrance.com/pedicure-chair-2008-11-28.htm | pedicure chair]] "pedicure chair":http://xlac4tr.ifrance.com/pedicure-chair-2008-11-28.htm
 
  +
because
  +
<pre-haskell>
  +
test = let
  +
x = undefined
  +
in (const 0) $! x
  +
</pre-haskell>
  +
yields exception and substituting ($) for ($!) yields 0. So ($!) does eliminate a suspension.
  +
--[[User:Beroal|beroal]] 16:58, 16 June 2010 (UTC)

Latest revision as of 16:58, 16 June 2010

I removed the following:

NB. do not do this if the expression on the right of $! is a variable - that just wastes effort, because it does not eliminate a suspension. The only reason to do this would be if you were eliminating a space leak.

because <pre-haskell> test = let

 x = undefined
 in (const 0) $! x

</pre-haskell> yields exception and substituting ($) for ($!) yields 0. So ($!) does eliminate a suspension. --beroal 16:58, 16 June 2010 (UTC)