README

NAME

ValueList - Provide an immutable List value type

SYNOPSIS

use ValueList;

my @a is ValueList = ^10;  # initialization follows single-argument semantics
my @b is ValueList = ^10;

set( @a, @b );  # elems == 1

DESCRIPTION

Raku provides a semi-immutable Positional datatype: List. A List can not have any elements added or removed from it. However, since a list can contain containers of which the value can be changed, it is not a value type. So you cannot use Lists in data structures such as Sets, because each List is considered to be different from any other List, because they are not value types.

AUTHOR

Elizabeth Mattijsen [email protected]

Source can be located at: https://github.com/lizmat/ValueList . Comments and Pull Requests are welcome.

If you like this module, or what I’m doing more generally, committing to a small sponsorship would mean a great deal to me!

COPYRIGHT AND LICENSE

Copyright 2022, 2024, 2025 Elizabeth Mattijsen

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

ValueList v0.0.5

Provide an immutable List value type

Authors

  • Elizabeth Mattijsen

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • ValueList

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.