remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / basis / io / directories / search / windows / windows.factor
blob755710befd03d4b5ce3379e4fe8a1c49fe2c6d0c
1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: arrays fry io.pathnames kernel sequences windows.shell32
4 io.directories.search ;
5 IN: io.directories.search.windows
7 : program-files-directories ( -- array )
8     program-files program-files-x86 2array harvest ; inline
10 : find-in-program-files ( base-directory bfs? quot -- path )
11     [
12         [ program-files-directories ] dip '[ _ append-path ] map
13     ] 2dip find-in-directories ; inline