Permalink
Browse files

Move the question about sigils to follow the one about references.

  • Loading branch information...
1 parent e8022f5 commit ad1ff23d20824f9ccb18a76a3725a5aea4778327 @pmichaud pmichaud committed Jun 30, 2012
Showing with 11 additions and 10 deletions.
  1. +11 −10 answers.md
View
@@ -84,6 +84,17 @@ or by calling the `.item` method on an expression.
`[...]` array literals do not flatten into lists.
+<span id="sigils" />
+### Why sigils? Couldn't you do without them?
+
+There are several reasons:
+
+* they make it easy to interpolate variables into strings
+* they form micro-namespaces for different variables, thus avoiding name clashes
+* they allow easy single/plural distinction
+* many natural languages use mandatory noun markers, so our brains are built to handle it
+
+
<span id="coroutine" />
### Does Perl 6 have coroutines? What about `yield`?
@@ -102,16 +113,6 @@ routines that return lazy lists:
# on a lazy list
my @squares := (1..*).map(-> $x { $x * $x });
-<span id="sigils" />
-### Why sigils? Couldn't you do without them?
-
-There are several reasons:
-
-* they make it easy to interpolate variables into strings
-* they form micro-namespaces for different variables, thus avoiding name clashes
-* they allow easy single/plural distinction
-* many natural languages use mandatory noun markers, so our brains are built to handle it
-
<span id="privattr">
### Why can't I initialize private attributes from the new method, and how can I fix this?

0 comments on commit ad1ff23

Please sign in to comment.