Changeset 39549 in project


Ignore:
Timestamp:
01/29/21 03:34:56 (5 weeks ago)
Author:
Kon Lovett
Message:

rel 2.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/list-utils

    r38849 r39549  
    2424(skip+ '(1 2 3 4) 3) ;=> '(4) 0
    2525</enscript>
     26
     27=== list-unique/duplicates
     28
     29<procedure>(list-unique/duplicates LS [EQAL?]) -> list list</procedure>
     30
     31Returns 2 values, the sorted list w/o duplicates & the list of duplicates.
     32
     33; {{EQAL?}} : {{a b -> boolean}} ; the equality predicate.
     34
     35=== list-unique
     36
     37<procedure>(list-unique LS [EQAL?]) -> list</procedure>
     38
     39Returns the sorted list w/o duplicates.
     40
     41; {{EQAL?}} : {{a b -> boolean}} ; the equality predicate.
    2642
    2743=== split-at+
     
    295311== Version history
    296312
     313; 2.2.0 : Add {{list-unique}} & {{list-unique/duplicates}}.
    297314; 2.1.1 : Fix {{split-at+}} optional argument.
    298315; 2.1.0 : Deprecate {{alist-delete/count}} & {{alist-delete!/count}}.
     
    310327== License
    311328
    312 Copyright (C) 2010-2020 Kon Lovett.  All rights reserved.
     329Copyright (C) 2010-2021 Kon Lovett.  All rights reserved.
    313330
    314331Permission is hereby granted, free of charge, to any person obtaining a
Note: See TracChangeset for help on using the changeset viewer.