From a5a69353f1e5de41337d31943f70030261ee45dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 28 Jan 2013 19:56:42 +0100 Subject: Add the 'int' constraint --- guide/routing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'guide/routing.md') diff --git a/guide/routing.md b/guide/routing.md index 2afb2f0..659b27d 100644 --- a/guide/routing.md +++ b/guide/routing.md @@ -196,8 +196,9 @@ Constraints ----------- After the matching has completed, the resulting bindings can be tested -against a set of constraints. The match will succeed only if they all -succeed. +against a set of constraints. Constraints are only tested when the +binding is defined. They run in the order you defined them. The match +will succeed only if they all succeed. They are always given as a two or three elements tuple, where the first element is the name of the binding, the second element is the constraint's -- cgit v1.2.3