Skip to content

Commit

Permalink
Merge branch 'master' of git://factorcode.org/git/factor
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava Pestov committed May 12, 2009
2 parents 1f52020 + 92966f1 commit f5cdf8a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions basis/combinators/smart/smart.factor
Expand Up @@ -11,8 +11,8 @@ MACRO: output>sequence ( quot exemplar -- newquot )
[ dup infer out>> ] dip
'[ @ _ _ nsequence ] ;

: output>array ( quot -- newquot )
{ } output>sequence ; inline
MACRO: output>array ( quot -- newquot )
'[ _ { } output>sequence ] ;

MACRO: input<sequence ( quot -- newquot )
[ infer in>> ] keep
Expand All @@ -25,8 +25,8 @@ MACRO: input<sequence-unsafe ( quot -- newquot )
MACRO: reduce-outputs ( quot operation -- newquot )
[ dup infer out>> 1 [-] ] dip n*quot compose ;

: sum-outputs ( quot -- n )
[ + ] reduce-outputs ; inline
MACRO: sum-outputs ( quot -- n )
'[ _ [ + ] reduce-outputs ] ;

MACRO: map-reduce-outputs ( quot mapper reducer -- newquot )
[ dup infer out>> ] 2dip
Expand All @@ -37,5 +37,5 @@ MACRO: map-reduce-outputs ( quot mapper reducer -- newquot )
MACRO: append-outputs-as ( quot exemplar -- newquot )
[ dup infer out>> ] dip '[ @ _ _ nappend-as ] ;

: append-outputs ( quot -- seq )
{ } append-outputs-as ; inline
MACRO: append-outputs ( quot -- seq )
'[ _ { } append-outputs-as ] ;
2 changes: 1 addition & 1 deletion basis/io/backend/windows/nt/nt.factor
Expand Up @@ -143,6 +143,6 @@ M: winnt (wait-to-read) ( port -- )
M: winnt init-stdio
console-app?
[ init-c-stdio ]
[ null-reader null-writer null-writer init-stdio ] if ;
[ null-reader null-writer null-writer set-stdio ] if ;

winnt set-io-backend
1 change: 1 addition & 0 deletions basis/openssl/libcrypto/libcrypto.factor
Expand Up @@ -13,6 +13,7 @@ IN: openssl.libcrypto
<<
{
{ [ os openbsd? ] [ ] } ! VM is linked with it
{ [ os netbsd? ] [ ] }
{ [ os winnt? ] [ "libcrypto" "libeay32.dll" "cdecl" add-library ] }
{ [ os macosx? ] [ "libcrypto" "libcrypto.dylib" "cdecl" add-library ] }
{ [ os unix? ] [ "libcrypto" "libcrypto.so" "cdecl" add-library ] }
Expand Down
1 change: 1 addition & 0 deletions basis/openssl/libssl/libssl.factor
Expand Up @@ -9,6 +9,7 @@ IN: openssl.libssl

<< {
{ [ os openbsd? ] [ ] } ! VM is linked with it
{ [ os netbsd? ] [ ] }
{ [ os winnt? ] [ "libssl" "ssleay32.dll" "cdecl" add-library ] }
{ [ os macosx? ] [ "libssl" "libssl.dylib" "cdecl" add-library ] }
{ [ os unix? ] [ "libssl" "libssl.so" "cdecl" add-library ] }
Expand Down
2 changes: 1 addition & 1 deletion vm/Config.netbsd
Expand Up @@ -2,4 +2,4 @@ include vm/Config.unix
PLAF_DLL_OBJS += vm/os-genunix.o vm/os-netbsd.o
CFLAGS += -export-dynamic
LIBPATH = -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib
LIBS = -lm -lopenal -lalut $(X11_UI_LIBS)
LIBS = -lm -lssl -lcrypto $(X11_UI_LIBS)

0 comments on commit f5cdf8a

Please sign in to comment.