/usr/local/lib/swipl/library/apply.pl
All Application Manual Name SummaryHelp

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl -- Apply predicates on a list
        • include/3
        • exclude/3
        • partition/4
        • partition/5
        • maplist/2
        • maplist/3
        • maplist/4
        • maplist/5
        • convlist/3
        • foldl/4
        • foldl/5
        • foldl/6
        • foldl/7
        • scanl/4
        • scanl/5
        • scanl/6
        • scanl/7
      • lists.pl
      • broadcast.pl
      • shlib.pl
      • option.pl
      • thread_pool.pl -- Resource bounded thread management
      • gensym.pl
      • settings.pl
      • arithmetic.pl
      • main.pl
      • readutil.pl
      • operators.pl
      • pairs.pl
      • prolog_source.pl
      • record.pl -- Access compound arguments by name
      • quasi_quotations.pl -- Define Quasi Quotation syntax
      • pure_input.pl
      • solution_sequences.pl
      • ordsets.pl
      • random.pl
      • base64.pl
      • aggregate.pl
      • yall.pl
      • sandbox.pl -- Sandboxed Prolog code
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • assoc.pl
      • prolog_format.pl
      • predicate_options.pl
      • csv.pl
      • pprint.pl
      • atom.pl
      • modules.pl -- Module utility predicates
      • occurs.pl
      • prolog_xref.pl -- Prolog cross-referencer data collection
      • prolog_colour.pl
      • lazy_lists.pl
      • ugraphs.pl
      • url.pl
      • www_browser.pl
      • prolog_pack.pl
      • git.pl
      • rbtrees.pl
      • dif.pl
      • charsio.pl
      • prolog_stack.pl
      • edinburgh.pl
      • prolog_clause.pl
      • prolog_breakpoints.pl -- Manage Prolog break-points
      • wfs.pl
      • dialect.pl
      • prolog_code.pl -- Utilities for reasoning about code
      • sort.pl
      • iostream.pl -- Utilities to deal with streams
      • dicts.pl
      • varnumbers.pl
      • backcomp.pl
      • base32.pl
      • codesio.pl -- I/O on Lists of Character Codes
      • coinduction.pl -- Co-Logic Programming
      • date.pl
      • heaps.pl
      • statistics.pl
      • terms.pl
      • utf8.pl -- UTF-8 encoding/decoding on lists of character codes.
      • when.pl
      • system.pl
      • persistency.pl
      • prolog_profile.pl
      • prolog_coverage.pl -- Coverage analysis tool
      • check.pl -- Consistency checking
      • threadutil.pl -- Interactive thread utilities
      • thread.pl -- High level thread primitives
      • tables.pl
      • nb_set.pl
      • make.pl
      • explain.pl
      • quintus.pl
      • optparse.pl
      • fastrw.pl
      • shell.pl
      • macros.pl
      • qsave.pl
      • zip.pl
      • prolog_debug.pl
      • prolog_autoload.pl -- Autoload all dependencies
      • ctypes.pl -- Character code classification
      • edit.pl
      • ansi_term.pl
      • increval.pl
      • rwlocks.pl
      • prolog_codewalk.pl -- Prolog code walker
      • streams.pl -- Manage Prolog streams
      • prolog_versions.pl -- Demand specific (Prolog) versions
      • strings.pl
      • hashtable.pl
      • help.pl
 include(:Goal, +List1, ?List2) is det
Filter elements for which Goal succeeds. True if List2 contains those elements Xi of List1 for which call(Goal, Xi) succeeds.
See also
- exclude/3, partition/4, convlist/3.
Compatibility
- Older versions of SWI-Prolog had sublist/3 with the same arguments and semantics.