• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

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

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl
      • lists.pl -- List Manipulation
        • member/2
        • append/3
        • append/2
        • prefix/2
        • select/3
        • selectchk/3
        • select/4
        • selectchk/4
        • nextto/3
        • delete/3
        • nth0/3
        • nth1/3
        • nth0/4
        • nth1/4
        • last/2
        • proper_length/2
        • same_length/2
        • reverse/2
        • permutation/2
        • flatten/2
        • clumped/2
        • subseq/3
        • max_member/2
        • min_member/2
        • max_member/3
        • min_member/3
        • sum_list/2
        • max_list/2
        • min_list/2
        • numlist/3
        • is_set/1
        • list_to_set/2
        • intersection/3
        • union/3
        • subset/2
        • subtract/3
      • broadcast.pl -- Event service
      • shlib.pl -- Utility library for loading foreign objects (DLLs, shared objects)
      • option.pl
      • thread_pool.pl
      • gensym.pl -- Generate unique symbols
      • settings.pl
      • arithmetic.pl -- Extensible arithmetic
      • main.pl
      • readutil.pl
      • operators.pl
      • pairs.pl
      • prolog_source.pl
      • quasi_quotations.pl
      • url.pl
      • www_browser.pl
      • prolog_colour.pl -- Prolog syntax colouring support.
      • record.pl
      • prolog_xref.pl
      • occurs.pl -- Finding and counting sub-terms
      • ordsets.pl
      • assoc.pl
      • ugraphs.pl
      • solution_sequences.pl
      • atom.pl
      • prolog_pack.pl
      • git.pl
      • ctypes.pl -- Character code classification
      • utf8.pl
      • base64.pl
      • persistency.pl
      • pure_input.pl
      • nb_set.pl
      • aggregate.pl
      • csv.pl
      • iostream.pl -- Utilities to deal with streams
      • dialect.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • yall.pl
      • prolog_code.pl -- Utilities for reasoning about code
      • dif.pl -- The dif/2 constraint
      • thread.pl -- High level thread primitives
      • predicate_options.pl
      • rbtrees.pl
      • nb_rbtrees.pl
      • sandbox.pl
      • prolog_format.pl
      • random.pl -- Random numbers
      • pprint.pl
      • modules.pl
      • lazy_lists.pl
      • edinburgh.pl -- Some traditional Edinburgh predicates
      • prolog_clause.pl
      • prolog_breakpoints.pl
      • dicts.pl
      • help.pl
      • tables.pl
      • tableutil.pl
      • listing.pl
      • prolog_profile.pl
      • date.pl
      • backcomp.pl
      • edit.pl
      • make.pl -- Reload modified source files
      • threadutil.pl -- Interactive thread utilities
      • shell.pl
      • optparse.pl
      • prolog_codewalk.pl
      • check.pl
      • heaps.pl
      • terms.pl
      • quintus.pl
      • strings.pl
      • prolog_stack.pl -- Examine the Prolog stack
      • wfs.pl
      • statistics.pl -- Get information about resource usage
      • charsio.pl -- I/O on Lists of Character Codes
      • oset.pl
      • increval.pl
      • coinduction.pl
      • varnumbers.pl
      • ansi_term.pl
      • explain.pl
      • prolog_coverage.pl
      • sort.pl
      • fastrw.pl
      • portray_text.pl
      • intercept.pl
      • prolog_versions.pl -- Demand specific (Prolog) versions
      • codesio.pl
      • prolog_wrap.pl
      • prolog_debug.pl
      • prolog_metainference.pl
      • base32.pl
      • when.pl
      • prolog_autoload.pl
 proper_length(@List, -Length) is semidet
True when Length is the number of elements in the proper list List. This is equivalent to
proper_length(List, Length) :-
      is_list(List),
      length(List, Length).
ClioPatria (version V3.1.1-59-g7b9a7a3)