DOKK / manpages / debian 13 / libattean-perl / AtteanX::Functions::CompositeMaps.3pm.en
AtteanX::Functions::CompositeMaps(3pm) User Contributed Perl Documentation AtteanX::Functions::CompositeMaps(3pm)

AtteanX::Functions::CompositeMaps - Functions and aggregates to work with composite maps

This document describes AtteanX::Functions::CompositeMaps version 0.032

  use v5.14;
  use Attean;

This is a utility package that defines functions and aggregates to work with composite map datatypes.

Parses $literal as a cdt:Map value and returns a hash of stringified keys and term object values. Use "lex_to_maplist" to get a list of key-value pairs in which the keys are also term objects.
Returns true if $value is a valid map key (is an IRI or a literal), false otherwise.
"mapGet($list, $key)"
Converts each argument from the stringified version of map keys used as hash keys to a list of term objects.
Parses $literal as a cdt:Map value and returns a (flattened) list of key-value pairs of term values.
"mapPut($map, $key, $value)"
"mapRemove($map, $key)"
"mapContains($map, $term)"
"mapMerge($map1, $map2)"
"mapCreate_agg_process($thunk, $key, $value)"

Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>.

Gregory Todd Williams "<gwilliams@cpan.org>"

Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2025-01-26 perl v5.40.0