Search results for "dist:FunctionalPerl HASH"
FP::Hash
Provides pure functions on hash tables. Note though that hash table updates simply copy the whole hash table, thus you may easily get bad computational complexity. (If you really care about that, and not so much about interoperability with other Perl...
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FP::PureHash
Hash tables, currently based simply on Perl's internal hashes. They are immutable, and restricted which means that accessing non-existing keys yields an exception....
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FP::HashSet - set operations for hash tables
Hashsets are hash tables that are expected to have keys representing the values unambiguously (FP::Array::array_to_hashset will just use the stringification). Note that hashset_to_array will use the *values* of the hashes, not the keys....
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FP::AST::Perl - abstract syntax tree for representing Perl code
This is not a parser, and hence should be outside the scope of the "can only parse Perl at runtime" issue. The longer term aim is to support all of Perl, and to support conversion to and maybe from an op tree....
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FP::Trie - purely functional prefix tree
The trie operations expect an efficiently dissectable sequence (linked list, stream) as the key. Each item denotes the next level in the nested trie levels. The items in the list can be anything with a sensible stringification. To use FP::Trie for st...
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FP::Show - give (nice) code representation for debugging purposes
The 'show' function takes a value and returns a string of Perl code which when evaluated should produce an equivalent clone of that value (assuming that the Perl functions used in the string are imported into the namespace where the code is evaluated...
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FP::Struct - classes for functional perl
Create functional setters (i.e. setters that return a copy of the object so as to leave the original unharmed), take predicate functions (not magic strings) for dynamic type checking, simpler than Class::Struct. Also creates constructor methods: "new...
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FunctionalPerl - functional programming in Perl
Allows Perl programs to be written with fewer side effects. See the Functional Perl <http://functional-perl.org/> home page....
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
Chj::Class::Array - array based perl objects (deprecated)
So you don't like objects based on hashes, since all you can do to prevent mistakes while accessing object data is to create accessor methods which are slow and inconvenient (and you don't want to use depreciated pseudohashes either) - what's left? S...
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
PXML::Preserialize - faster PXML templating through preserialization
PXML represents every XML/HTML element as an individual Perl object, and both building up a PXML tree and serializing it is somewhat costly. And even if only a few strings change in a (sub)tree, a new tree instance needs to be created and serialized ...
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC
FP::Repl::StackPlus - Stack including lexical variables
I'm pretty sure this is still re-inventing some wheel......
PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC