mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
fix pipe example
This commit is contained in:
parent
701cf1d169
commit
d03202407b
1 changed files with 4 additions and 2 deletions
|
@ -103,8 +103,10 @@
|
|||
;;> tr, outputting "HELLO" to stdout:
|
||||
;;>
|
||||
;;> \schemeblock{
|
||||
;;> ((shell-pipe '(echo "hello") '(tr "a-z" "A-Z")) (lambda () #t) (lambda () #t))
|
||||
;;> }
|
||||
;;> ((shell-pipe (shell-command '(echo "hello"))
|
||||
;;> (shell-command '(tr "a-z" "A-Z")))
|
||||
;;> (lambda () #t)
|
||||
;;> (lambda () #t))}
|
||||
;;>
|
||||
;;> We can continue to build on these combinators, but for practical
|
||||
;;> use a concise syntax is handy. We provide the syntax
|
||||
|
|
Loading…
Add table
Reference in a new issue