title: Understanding NetLogo syntax
body: <p>How should I understand the syntax of a line of code like this:</p>
  
  <pre><code>crt 50 [set breed ifelse-value (who mod 2 = 1) [mice] [frogs]]
  </code></pre>
  
  <p>It creates 50 turtles and set half of them to be mice and the other half to be frogs. My question is about the two reporter blocks in the <code>ifelse-value</code> statement. What does it mean that <code>[mice]</code> returns the <code>mice</code> breed. </p>
  
  <ol>
  <li><p>How should I understand the identifier <code>mice</code>? The NetLogo manual says that NetLogo doesn't support Lisp-like symbols. But this seems to be something like that.</p></li>
  <li><p>Does a code block that is expected to be a reporter and that contains an expression that can be evaluated return (report) the value of that expression?</p></li>
  </ol>