Changeset 4286

Show
Ignore:
Timestamp:
05/29/08 02:30:43 (3 months ago)
Author:
pmoura
Message:

Added missing implementation of the predicate as_dictionary/2 to the "bintree" library object. Thanks to Victor Noel for the bug report.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/library/bintree.lgt

    r4074 r4286  
    55 
    66    :- info([ 
    7         version is 1.2, 
     7        version is 1.3, 
    88        author is 'Paulo Moura', 
    9         date is 2008/2/11, 
     9        date is 2008/5/29, 
    1010        comment is 'Dictionary protocol implemented using binary trees.']). 
    1111 
     
    1313    :- meta_predicate(map(*, *, *, ::)). 
    1414    :- mode(map(+atom, +tree, -tree, -callable), zero_or_one). 
     15 
     16    as_dictionary(Pairs, Dictionary) :- 
     17        empty(Empty), 
     18        insert_all(Pairs, Empty, Dictionary). 
    1519 
    1620    as_list(Tree, List) :- 
  • trunk/RELEASE_NOTES.txt

    r4285 r4286  
    1717    are no longer necessary for recent YAP versions. 
    1818 
     19    Added missing implementation of the predicate as_dictionary/2 to the  
     20    "bintree" library object. Thanks to Victor Noel for the bug report. 
     21 
    1922    Updated the syntax coloring support for the Vim text editor to properly  
    2023    highlight quoted atoms and strings in the opening directives of parametric 
     
    3235 
    3336    Fixed a Logtalk compiler bug when compiling a class that imports a   
    34     category that extends other categories.  Thanks to Victor Noel for  
     37    category that extends other categories. Thanks to Victor Noel for  
    3538    the bug report. 
    3639