Just noticed a missing b for the <=> operator example on the expressions doc page.
b
<=>
fixed - thanks
There is a typo on expressions doc page http://www.fandev.org/doc/docLang/Expressions.html
s[start..<end] => "ab"
We use .. to specify an inclusive end index, and ..< to specify an exclusive start index. - should be an exclusive end index
..
..<
A tour note: I'd add fan specific [,] and [:] to Literals section since they are used later for closure examples.
[,]
[:]
fixed Expression doc and added your suggestion to Tour
thanks!
Login or Signup to reply.
tompalmer Thu 11 Jun 2009
Just noticed a missing
b
for the<=>
operator example on the expressions doc page.brian Thu 11 Jun 2009
fixed - thanks
katox Sun 4 Oct 2009
There is a typo on expressions doc page http://www.fandev.org/doc/docLang/Expressions.html
We use
..
to specify an inclusive end index, and..<
to specify an exclusive start index. - should be an exclusive end indexA tour note: I'd add fan specific
[,]
and[:]
to Literals section since they are used later for closure examples.brian Sun 4 Oct 2009
fixed Expression doc and added your suggestion to Tour
thanks!