Quadruple
is a tuple of length 4.
delete
(Fn [(Quadruple a b c d)] ())
deletes a Quadruple
. Should usually not be called manually.
init-from-refs
(Fn [(Ref a b), (Ref c d), (Ref e f), (Ref g h)] (Quadruple a c e g))
(init-from-refs a-val b-val c-val d-val)
initializes a Quadruple
from member references.
reverse
(Fn [(Ref (Quadruple a b c d) e)] (Quadruple d c b a))
(reverse t)
reverses a Quadruple
by reversing its member positions.
set-a
(Fn [(Quadruple a b c d), a] (Quadruple a b c d))
sets the a
property of a Quadruple
.
set-a!
(Fn [(Ref (Quadruple a b c d) e), a] ())
sets the a
property of a Quadruple
in place.
set-b
(Fn [(Quadruple a b c d), b] (Quadruple a b c d))
sets the b
property of a Quadruple
.
set-b!
(Fn [(Ref (Quadruple a b c d) e), b] ())
sets the b
property of a Quadruple
in place.
set-c
(Fn [(Quadruple a b c d), c] (Quadruple a b c d))
sets the c
property of a Quadruple
.
set-c!
(Fn [(Ref (Quadruple a b c d) e), c] ())
sets the c
property of a Quadruple
in place.
set-d
(Fn [(Quadruple a b c d), d] (Quadruple a b c d))
sets the d
property of a Quadruple
.
set-d!
(Fn [(Ref (Quadruple a b c d) e), d] ())
sets the d
property of a Quadruple
in place.
update-a
(Fn [(Quadruple a b c d), (Ref (Fn [a] a e) f)] (Quadruple a b c d))
updates the a
property of a (Quadruple a b c d)
using a function f
.
update-b
(Fn [(Quadruple a b c d), (Ref (Fn [b] b e) f)] (Quadruple a b c d))
updates the b
property of a (Quadruple a b c d)
using a function f
.
update-c
(Fn [(Quadruple a b c d), (Ref (Fn [c] c e) f)] (Quadruple a b c d))
updates the c
property of a (Quadruple a b c d)
using a function f
.
update-d
(Fn [(Quadruple a b c d), (Ref (Fn [d] d e) f)] (Quadruple a b c d))
updates the d
property of a (Quadruple a b c d)
using a function f
.