Skip to content
This repository
Browse code

[questions] answer Q2 by pmichaud++

  • Loading branch information...
commit 9abc8f20f1fb368054b52b11793618451ba9d629 1 parent 58b9c43
Moritz Lenz authored June 30, 2012

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. 8  questions.txt
8  questions.txt
@@ -29,5 +29,13 @@ Q2: (pmichaud) What's the expectation of how "useless use of '+'
29 29
     or is it something that &infix:<+> would detect and carp
30 30
     about at runtime?
31 31
 
  32
+A2: (moritz) They are generated at compile-time based on a trait
  33
+    on the proto sub.
  34
+    Reasons are:
  35
+    * The user wants a warning per occurence in the source code,
  36
+      not per call
  37
+    * performance considerations
  38
+    See also: http://irclog.perlgeek.de/perl6/2012-02-17#i_5161470
  39
+
32 40
 
33 41
 Pm

0 notes on commit 9abc8f2

Please sign in to comment.
Something went wrong with that request. Please try again.