packages feed

dhall-docs-1.0.5: tasty/data/golden/JumpToLetBindingWithShadowing.dhall.html

<!DOCTYPE HTML>
<html>
<head>
<title>/JumpToLetBindingWithShadowing.dhall</title>
<link href="index.css" type="text/css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&amp;family=Lato:ital,wght@0,400;0,700;1,400&amp;display=swap" type="text/css" rel="stylesheet">
<script src="index.js" type="text/javascript">
</script>
<meta charset="UTF-8">
</head>
<body>
<div class="nav-bar">
<img src="dhall-icon.svg" class="dhall-icon">
<p class="package-title">test-package</p>
<div class="nav-bar-content-divider">
</div>
<a id="switch-light-dark-mode" class="nav-option">Switch Light/Dark Mode</a>
</div>
<div class="main-container">
<h2 class="doc-title">
<span class="crumb-divider">/</span>
<a href="index.html">test-package</a>
<span class="crumb-divider">/</span>
<span href="index.html" class="title-crumb">JumpToLetBindingWithShadowing.dhall</span>
</h2>
<a data-path="/JumpToLetBindingWithShadowing.dhall" class="copy-to-clipboard">
<i>
<small>Copy path to clipboard</small>
</i>
</a>
<br>
<div class="doc-contents">
<p>On this example, the first declaration of variable <code>a</code> is shadowed with the
later declaration. The jump-to-definintion on the usage of <code>a</code>
should not highlight the first declaration, and interacting with the first
declaration should not change the others</p>
</div>
<h3>Source</h3>
<div class="source-code">
<pre>{-|<br>On this example, the first declaration of variable `a` is shadowed with the<br>later declaration. The jump-to-definintion on the usage of `a`<br>should not highlight the first declaration, and interacting with the first<br>declaration should not change the others<br>-}<br>let a = 1<br>
<br>let <span data-name="var9-5" id="var9-5" class="name-decl">a</span> = 2<br>
<br>in <a href="#var9-5" data-name="var9-5" class="name-use">a</a>
<br>
</pre>
</div>
</div>
</body>
</html>