Help for this page

Select Code to Download


  1. or download this
    (set! 'h 
      (hash-new
    ...
          (flatten-map (lambda (x) (list x (hash-get h x)))
            (sort stringcomp
              (hash-keys h))))))
    
  2. or download this
    %h ==> keys ==> sort { $a<==>$b } ==> map { $_, %h{$_} } ==> [0,1] ==>
    + %h;
    
  3. or download this
    %h <== [0,1] <== map { $_, %h{$_} } <== sort { $a<==>$b } <== keys <==
    + %h;