Skip to content

Commit

Permalink
Switch to span tags for anchoring
Browse files Browse the repository at this point in the history
--HG--
extra : amend_source : afcd61a44a98d24f08379859c95c7c6ba4063a50
  • Loading branch information
bos committed Aug 12, 2014
1 parent 9a8d2fc commit ca89105
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions www/bootstrap-custom.css
Expand Up @@ -15,8 +15,8 @@ body {
background-color: #f5f5f5;
}

a[href] > code { color: #02d; }
a[href] > code:hover { color: #44f; }
a > code { color: #02d; }
a > code:hover { color: #44f; }
div.nav.bs-docs-sidenav > ul { list-style-type: none; }
div.nav.bs-docs-sidenav > ul > li > ul { list-style-type: none; }

Expand Down
4 changes: 2 additions & 2 deletions www/tutorial.md
Expand Up @@ -276,7 +276,7 @@ main = defaultMain [
We use
[`nfIO`](http://hackage.haskell.org/package/criterion/docs/Criterion-Main.html#v:nfIO)
to specify that after we run the `IO` action, its result must be
evaluated to <a name="normal-form">**normal form**</a>, i.e. so that
evaluated to <span id="normal-form">normal form</span>, i.e. so that
all of its internal constructors are fully evaluated, and it contains
no thunks.

Expand All @@ -300,7 +300,7 @@ In addition to `nfIO`, criterion provides a
[`whnfIO`](http://hackage.haskell.org/package/criterion/docs/Criterion-Main.html#v:whnfIO)
function that evaluates the result of an action only deep enough for
the outermost constructor to be known (using `seq`). This is known as
<a name="weak-head-normal-form">**weak head normal form** (WHNF)</a>.
<span id="weak-head-normal-form">**weak head normal form** (WHNF)</span>.

~~~~ {.haskell}
whnfIO :: IO a -> IO ()
Expand Down

0 comments on commit ca89105

Please sign in to comment.