Makefile update
parent
d124669dc5
commit
fa126b0b72
3
Makefile
3
Makefile
|
@ -38,7 +38,8 @@ DLL_OBJS = $(PLAF_DLL_OBJS) \
|
||||||
vm/types.o \
|
vm/types.o \
|
||||||
vm/quotations.o \
|
vm/quotations.o \
|
||||||
vm/utilities.o \
|
vm/utilities.o \
|
||||||
vm/errors.o
|
vm/errors.o \
|
||||||
|
vm/profiler.o
|
||||||
|
|
||||||
EXE_OBJS = $(PLAF_EXE_OBJS)
|
EXE_OBJS = $(PLAF_EXE_OBJS)
|
||||||
|
|
||||||
|
|
|
@ -98,9 +98,9 @@ M: assoc assoc-clone-like ( assoc exemplar -- newassoc )
|
||||||
2dup subassoc? >r swap subassoc? r> and ;
|
2dup subassoc? >r swap subassoc? r> and ;
|
||||||
|
|
||||||
: assoc-hashcode ( n assoc -- code )
|
: assoc-hashcode ( n assoc -- code )
|
||||||
swap [
|
[
|
||||||
tuck swap hashcode* >r swap hashcode* 2/ r> bitxor
|
>r over r> hashcode* 2/ >r dupd hashcode* r> bitxor
|
||||||
] curry { } assoc>map hashcode ;
|
] { } assoc>map hashcode* ;
|
||||||
|
|
||||||
: intersect ( assoc1 assoc2 -- intersection )
|
: intersect ( assoc1 assoc2 -- intersection )
|
||||||
swap [ nip key? ] curry assoc-subset ;
|
swap [ nip key? ] curry assoc-subset ;
|
||||||
|
|
Loading…
Reference in New Issue