Fix assocs.lib tests
parent
4e1e145669
commit
ebb3423e4a
|
@ -0,0 +1,4 @@
|
|||
IN: assocs.lib.tests
|
||||
USING: assocs.lib tools.test vectors ;
|
||||
|
||||
{ 1 1 } [ [ ?push ] histogram ] must-infer-as
|
|
@ -41,4 +41,4 @@ IN: assocs.lib
|
|||
: histogram ( assoc quot -- assoc' )
|
||||
H{ } clone [
|
||||
swap [ change-at ] 2curry assoc-each
|
||||
] keep ;
|
||||
] keep ; inline
|
||||
|
|
Loading…
Reference in New Issue