Scroll to navigation

AtteanX::Functions::CompositeMaps(3pm) User Contributed Perl Documentation AtteanX::Functions::CompositeMaps(3pm)

NAME

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

VERSION

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

SYNOPSIS

  use v5.14;
  use Attean;

DESCRIPTION

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)"

BUGS

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

SEE ALSO

AUTHOR

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

COPYRIGHT

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.

2024-07-02 perl v5.38.2