<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 22, 2014 at 6:05 AM, Magnus Therning <span dir="ltr"><<a href="mailto:magnus@therning.org" target="_blank">magnus@therning.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":14c" class="" style="overflow:hidden">When playing around with various implementations of a single function<br>
it would be nice to time the execution.  Is there some way to do that<br>
easily from within GHCi?<br></div></blockquote></div><br>:set +s (possibly also +r; <a href="http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-set.html#idp7320496">http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-set.html#idp7320496</a> )<br><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>