OSDN Git Service

Definition of ii combinator.
authorSimon Forman <sforman@hushmail.com>
Thu, 7 Nov 2019 15:53:21 +0000 (07:53 -0800)
committerSimon Forman <sforman@hushmail.com>
Thu, 7 Nov 2019 15:53:21 +0000 (07:53 -0800)
    ii == [dip] dupdip i

         a [F] ii
      --------------
          F a F

joy/library.py

index 3c7335b..3e90c36 100644 (file)
@@ -206,6 +206,7 @@ def yin_functions():
 
 
 definitions = ('''\
+ii == [dip] dupdip i
 of == swap at
 product == 1 swap [*] step
 flatten == [] swap [concat] step