builder.util: add to-file
parent
7303efe221
commit
95185cf9e1
|
@ -98,4 +98,10 @@ USING: bootstrap.image bootstrap.image.download io.streams.null ;
|
|||
: cat-n ( file n -- )
|
||||
[ file-lines ] [ ] bi*
|
||||
maybe-tail*
|
||||
[ print ] each ;
|
||||
[ print ] each ;
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
USE: prettyprint
|
||||
|
||||
: to-file ( object file -- ) [ . ] with-file-writer ;
|
Loading…
Reference in New Issue