txlyre 4 сар өмнө
parent
commit
2562909a44
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      readme.md

+ 3 - 3
readme.md

@@ -95,11 +95,11 @@ l 3
 ```
     / day 1, part 1
     ps:3 4,:4 3,:2 5,:1 3,:3 9,:3 3
-    +/(@{.-*)"(].(3t.*)"ps),"(].(3t.{.)"ps)
+    +/(@{.-*)"(].*"ps),"].{."ps
 11
     / day 1, part 2
     sr:(3t.{.)"ps
-    +/(:x*#x?sr)"(3t.*)"ps
+    +/(:x*#x?sr)"*"ps
 31
     / day 2, part 1
     data:7 6 4 2 1,:1 2 7 8 9,:9 7 6 2 1,:1 3 2 4 5,:8 6 4 4 1,:1 3 6 7 9
@@ -299,7 +299,7 @@ y. dyadic  system2       exec system command with input
 E. monadic exit          exit with exit code
 L. dyadic  tackleft      prepend x to y
 R. dyadic  tackright     append x to y
-"v. monadic value         get value of var x (udf if not defined)
+v. monadic value         get value of var x (udf if not defined)
 
 f"         each          >"1 2 3 yields 2 3 4
 xf"        merge         1 2 3,"a b c yields (1,.a),:(2,.b),:(3,.c)