From 2ac6926be617bf764c4c18a4f6fbba199f6be697 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 7 Mar 2022 04:16:47 -0400 Subject: Compilers for scripting languages now only depend on new JVM compiler. --- stdlib/source/unsafe/lux/data/collection/array.lux | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stdlib/source/unsafe') diff --git a/stdlib/source/unsafe/lux/data/collection/array.lux b/stdlib/source/unsafe/lux/data/collection/array.lux index cd6bebf63..83b7e5202 100644 --- a/stdlib/source/unsafe/lux/data/collection/array.lux +++ b/stdlib/source/unsafe/lux/data/collection/array.lux @@ -95,6 +95,9 @@ .true)))) )])) + (template: .public (has? index array) + [(.not (..lacks? index array))]) + (`` (template: .public (item ) [((.: (.All (_ a) (.-> .Nat (..Array a) a)) -- cgit v1.2.3