Map::Ordered

role for ordered Maps

NAME

Map::Ordered - role for ordered Maps

SYNOPSIS

use Map::Ordered;

my %m is Map::Ordered = a => 42, b => 666;

DESCRIPTION

Exports a Map::Ordered role that can be used to indicate the implementation of a Map in which the keys are ordered the way the Map got initialized.

Since Map::Ordered is a role, you can also use it as a base for creating your own custom implementations of maps.

AUTHOR

Elizabeth Mattijsen [email protected]

Source can be located at: https://github.com/lizmat/Map-Ordered . 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 2018, 2019, 2021, 2023, 2024, 2025 Elizabeth Mattijsen

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

Map::Ordered v0.0.9

role for ordered Maps

Authors

  • Elizabeth Mattijsen

License

Artistic-2.0

Dependencies

Map::Agnostic:ver<0.0.11+>:auth<zef:lizmat>

Test Dependencies

Provides

  • Map::Ordered

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.