diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-10-12 10:23:02 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-10-12 10:23:02 -0700 |
commit | 89ee18a13effc454fbb4accb094119d5d3398a29 (patch) | |
tree | b5139165a7dfd9b52900bc977cd27ca4318b60ab /mu.arc | |
parent | 3245570bc74382aabd1d84b5fae7cae91849df4d (diff) | |
download | mu-89ee18a13effc454fbb4accb094119d5d3398a29.tar.gz |
134 - 'arg' explicitly tells us if an arg was found
Return values can be ignored in mu, in the grand traditions of C programming. Though library writers can impose their conservatism on callers by returning the error condition first.
Diffstat (limited to 'mu.arc')
-rw-r--r-- | mu.arc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mu.arc b/mu.arc index 6b33d19a..fe64105a 100644 --- a/mu.arc +++ b/mu.arc @@ -398,7 +398,8 @@ (++ caller-arg-idx.context))) (trace "arg" arg " " idx " " caller-args.context) (if (len> caller-args.context idx) - (m caller-args.context.idx))) + (list (m caller-args.context.idx) nil) + (list nil t))) type (ty (caller-args.context arg.0)) otype |