fix pipe example

This commit is contained in:
Alex Shinn 2022-07-09 14:59:17 +09:00
parent 701cf1d169
commit d03202407b

View file

@ -103,8 +103,10 @@
;;> tr, outputting "HELLO" to stdout: ;;> tr, outputting "HELLO" to stdout:
;;> ;;>
;;> \schemeblock{ ;;> \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 ;;> We can continue to build on these combinators, but for practical
;;> use a concise syntax is handy. We provide the syntax ;;> use a concise syntax is handy. We provide the syntax