/div>

        <div class="page-wrapper" tabindex="-1" role="main">
          <div class="page-inner">

            <section class="normal" id="section-">

<div>
This is an old version, <a href="https://mc-stan.org/docs/reference-manual/syntax.html#extra-grammatical-constraints">view current version</a>.
</div>
<div id="extra-grammatical-constraints" class="section level2">
<h2><span class="header-section-number">11.2</span> Extra-grammatical constraints</h2>
<div id="type-constraints" class="section level3