diff --git a/hprint.cpp b/hprint.cpp index 3fdaaa2b..c317ac9e 100644 --- a/hprint.cpp +++ b/hprint.cpp @@ -447,6 +447,11 @@ template vector kz(vector v) { for(auto& el: v) el = kz(el); return v; } + +template array kz(array v) { + for(auto& el: v) el = kz(el); + return v; + } #endif EX string pick123() { return cts('1' + rand() % 3); }