{
    "content": [
        {
            "type": "text",
            "text": "# Data::Stream::Bulk::Util (perldoc)\n\n## NAME\n\nData::Stream::Bulk::Util - Utility functions for Data::Stream::Bulk\n\n## SYNOPSIS\n\nuse Data::Stream::Bulk::Util qw(array);\nuse namespace::clean;\n# Wrap a list in L<Data::Stream::Bulk::Array>\nreturn bulk(qw(foo bar gorch baz));\n# return an empty resultset\nreturn nil();\n\n## DESCRIPTION\n\nThis module exports convenience functions for use with Data::Stream::Bulk.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXPORTS**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Data::Stream::Bulk::Util",
        "section": "",
        "mode": "perldoc",
        "summary": "Data::Stream::Bulk::Util - Utility functions for Data::Stream::Bulk",
        "synopsis": "use Data::Stream::Bulk::Util qw(array);\nuse namespace::clean;\n# Wrap a list in L<Data::Stream::Bulk::Array>\nreturn bulk(qw(foo bar gorch baz));\n# return an empty resultset\nreturn nil();",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "EXPORTS",
                "lines": 28,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Data::Stream::Bulk::Util - Utility functions for Data::Stream::Bulk\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 0.11\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Data::Stream::Bulk::Util qw(array);\n\nuse namespace::clean;\n\n# Wrap a list in L<Data::Stream::Bulk::Array>\nreturn bulk(qw(foo bar gorch baz));\n\n# return an empty resultset\nreturn nil();\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module exports convenience functions for use with Data::Stream::Bulk.\n",
                "subsections": []
            },
            "EXPORTS": {
                "content": "Sub::Exporter is used to create the \"import\" routine, and all of its aliasing/currying goodness\nis of course supported.\n\nnil Creates a new Data::Stream::Bulk::Nil object.\n\nTakes no arguments.\n\nbulk @items\nCreates a new Data::Stream::Bulk::Array wrapping @items.\n\ncat @streams\nConcatenate several streams together.\n\nReturns \"nil\" if no arguments are provided.\n\nfilter { ... } $stream\nCalls \"filter\" on $stream with the provided filter.\n\nunique $stream\nFilter the stream to remove duplicates.\n\nNote that memory use may potentially scale to O(k) where k is the number of distinct items,\nbecause this is implemented in terms of a seen hash.\n\nIn the future this will be optimized to be iterative for sorted streams.\n\nReferences are keyed by their refaddr (see \"id\" in Hash::Util::FieldHash).\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Yuval Kogman <nothingmuch@woobling.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2012 by Yuval Kogman.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
                "subsections": []
            }
        }
    }
}