diff options
| author | Drahflow <drahflow@gmx.de> | 2014-08-18 17:27:36 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2014-08-18 17:27:36 +0200 |
| commit | 9ad92648cb58f287cb34225512423154405fb97a (patch) | |
| tree | a3693b46bdfd5944a357f0cd64bf95ca60ebe83b | |
| parent | 850c84edb1744eb960891c3b3a48776e8acc1948 (diff) | |
Correct any/all semantics for empty arrays
| -rw-r--r-- | compiler/standard.ey | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/standard.ey b/compiler/standard.ey index 7cc96ed..49e73a3 100644 --- a/compiler/standard.ey +++ b/compiler/standard.ey @@ -28,8 +28,8 @@ [ 1 -1202 1 add range { -110 sub a -01 }' each -- ] # TODO: rethink this one, seems overly complicated } /reverse deffd -{ |or fold } /any deffd -{ |and fold } /all deffd +{ _ len { |or fold } { 0 } ? * } /any deffd +{ _ len { |and fold } { 1 } ? * } /all deffd { =*p { [ -01 { _ p { } { -- } ? * } each ] |
