commit 4c072c63ea0443277fca43a859f38b29df856b44
parent 96676cb21a1440b1655517ca6e83f54d301142ce
Author: Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
Date: Sat, 15 Aug 2015 12:22:17 +0200
Make the specification for ref more precise.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -110,7 +110,7 @@ Specification
Returns the value for `field` in `object`. If `object` is of a type
whose fields can be "empty" or "unassigned" (e.g. a hashtable), then
the value of `default` is returned if given, and otherwise an error
-raised.
+raised. If `object` is not of such a type, then `default` is ignored.
Valid types for `object` are: bytevectors, hashtables, pairs, strings,
vectors, and all record types.