aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/unsafe
diff options
context:
space:
mode:
authorEduardo Julian2022-06-05 01:39:29 -0400
committerEduardo Julian2022-06-05 01:39:29 -0400
commitf623de52d76ad8ec96feb048cd95a3fb150717e1 (patch)
tree92a53eb8e5a25287e59eb104716abe5cc2ebd60a /stdlib/source/unsafe
parent75e8244fd7914d2ac0c3622d2277b84c4bfa7ffb (diff)
De-sigil-ification: : [Part 1]
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r--stdlib/source/unsafe/lux/data/binary.lux18
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux
index e14eb54b0..6f51fde27 100644
--- a/stdlib/source/unsafe/lux/data/binary.lux
+++ b/stdlib/source/unsafe/lux/data/binary.lux
@@ -17,14 +17,14 @@
(with_expansions [<jvm> (these (type: .public Binary
(ffi.type [byte]))
- (ffi.import: java/lang/Object
+ (ffi.import java/lang/Object
"[1]::[0]")
- (ffi.import: java/lang/System
+ (ffi.import java/lang/System
"[1]::[0]"
("static" arraycopy [java/lang/Object int java/lang/Object int int] void))
- (ffi.import: java/util/Arrays
+ (ffi.import java/util/Arrays
"[1]::[0]"
("static" copyOfRange [[byte] int int] [byte])
("static" equals [[byte] [byte]] boolean)))]
@@ -32,9 +32,9 @@
@.jvm (these <jvm>)
@.js
- (these (ffi.import: ArrayBuffer
+ (these (ffi.import ArrayBuffer
"[1]::[0]")
- (ffi.import: Uint8Array
+ (ffi.import Uint8Array
"[1]::[0]")
(type: .public Binary
@@ -48,10 +48,10 @@
(these (type: .public Binary
(Primitive "bytevector"))
- (ffi.import: (make-bytevector [Nat] Binary))
- (ffi.import: (bytevector-u8-ref [Binary Nat] I64))
- (ffi.import: (bytevector-u8-set! [Binary Nat (I64 Any)] Any))
- (ffi.import: (bytevector-length [Binary] Nat)))
+ (ffi.import (make-bytevector [Nat] Binary))
+ (ffi.import (bytevector-u8-ref [Binary Nat] I64))
+ (ffi.import (bytevector-u8-set! [Binary Nat (I64 Any)] Any))
+ (ffi.import (bytevector-length [Binary] Nat)))
... Default
(type: .public Binary