aboutsummaryrefslogtreecommitdiff
path: root/elymas
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2014-03-30 22:41:45 +0200
committerDrahflow <drahflow@gmx.de>2014-03-30 22:41:45 +0200
commit2d0f69edde4e87c4afc08ab01374b2014405af1b (patch)
tree0fa8ec6fdc42c69f5e0918b104f328ac2d8bdbcd /elymas
parent218eb7183aad1aa68bcbc49e791141f509194767 (diff)
Corrected .has
Diffstat (limited to 'elymas')
-rw-r--r--elymas/lib/map.ey2
1 files changed, 2 insertions, 0 deletions
diff --git a/elymas/lib/map.ey b/elymas/lib/map.ey
index fd8c384..d58a9a3 100644
--- a/elymas/lib/map.ey
+++ b/elymas/lib/map.ey
@@ -8,6 +8,8 @@
{ .v keys len eq } "#iend" defmd
{ 1 add } "#istep" deffd
{ .v keys * } "#itrans" defmd
+ { .v -01 .?' } /has defmd
+ { .v ==v "#iclone" | * ==n v keys { _ v -01 . -01 n =[] } each n } /clone defmd
{ < < { defv }' > ==v "#=[]" =* > } _ "#iclone" deffd
> -- /map deffd