txlyre 1 week ago
parent
commit
5bad7b1ebc
2 changed files with 4 additions and 0 deletions
  1. 2 0
      jk.c
  2. 2 0
      readme.md

+ 2 - 0
jk.c

@@ -2650,6 +2650,7 @@ cS VHELP =\
 cS V2HELP =\
 cS V2HELP =\
 "p. monadic print         print x" "\n"\
 "p. monadic print         print x" "\n"\
 "P. monadic println       print x and a \\n" "\n"\
 "P. monadic println       print x and a \\n" "\n"\
+"c. monadic putch         print char x" "\n"\
 "s. monadic selfref1      monadic reference to current function or rhs of bind" "\n"\
 "s. monadic selfref1      monadic reference to current function or rhs of bind" "\n"\
 "s. dyadic  selfref2      dyadic reference to current function or rhs of bind" "\n"\
 "s. dyadic  selfref2      dyadic reference to current function or rhs of bind" "\n"\
 "F. monadic read          read file (x=0 to read stdin)" "\n"\
 "F. monadic read          read file (x=0 to read stdin)" "\n"\
@@ -2665,6 +2666,7 @@ cS V2HELP =\
 "E. monadic exit          exit with exit code" "\n"\
 "E. monadic exit          exit with exit code" "\n"\
 "L. dyadic  tackleft      prepend x to y" "\n"\
 "L. dyadic  tackleft      prepend x to y" "\n"\
 "R. dyadic  tackright     append x to y" "\n"\
 "R. dyadic  tackright     append x to y" "\n"\
+"v. monadic value         get value of var x (udf if not defined)" "\n"\
 "";
 "";
 cS AHELP =\
 cS AHELP =\
 "f\"         each          >\"1 2 3 yields 2 3 4" "\n"\
 "f\"         each          >\"1 2 3 yields 2 3 4" "\n"\

+ 2 - 0
readme.md

@@ -262,6 +262,7 @@ $: dyadic  implode       join y inserting x between
 
 
 p. monadic print         print x
 p. monadic print         print x
 P. monadic println       print x and a \n
 P. monadic println       print x and a \n
+c. monadic putch         print char x
 s. monadic selfref1      monadic reference to current function or rhs of bind or top-most train
 s. monadic selfref1      monadic reference to current function or rhs of bind or top-most train
 s. dyadic  selfref2      dyadic reference to current function or rhs of bind or top-most train
 s. dyadic  selfref2      dyadic reference to current function or rhs of bind or top-most train
 F. monadic read          read file (x=0 to read stdin)
 F. monadic read          read file (x=0 to read stdin)
@@ -277,6 +278,7 @@ y. dyadic  system2       exec system command with input
 E. monadic exit          exit with exit code
 E. monadic exit          exit with exit code
 L. dyadic  tackleft      prepend x to y
 L. dyadic  tackleft      prepend x to y
 R. dyadic  tackright     append x to y
 R. dyadic  tackright     append x to y
+"v. monadic value         get value of var x (udf if not defined)
 
 
 f"         each          >"1 2 3 yields 2 3 4
 f"         each          >"1 2 3 yields 2 3 4
 xf"        merge         1 2 3,"a b c yields (1,.a),:(2,.b),:(3,.c)
 xf"        merge         1 2 3,"a b c yields (1,.a),:(2,.b),:(3,.c)