Advertisement
Yevano

Untitled

Mar 17th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. λi.λo.λi.λf.λp.
  2. f (λp.
  3. p (λx.λy.
  4. x
  5. ) p
  6. ) (λp.
  7. p (λx.λy.
  8. y
  9. ) p
  10. ) (λf.λx.
  11. f (x x) (λx.
  12. f (x x)
  13. ) (λread_line.λi.
  14. i (λj.λc.λm.λn.λm.λn.λn.
  15. n (λx.λx.λy.
  16. y
  17. ) (λx.λy.
  18. x
  19. ) (λm.λn.
  20. n (λn.λf.λx.
  21. n (λg.λh.
  22. h (g f)
  23. ) (λu.
  24. x
  25. ) (λx.
  26. x
  27. )
  28. ) m m n
  29. ) m n (λm.λn.λn.
  30. n (λx.λx.λy.
  31. y
  32. ) (λx.λy.
  33. x
  34. ) (λm.λn.
  35. n (λn.λf.λx.
  36. n (λg.λh.
  37. h (g f)
  38. ) (λu.
  39. x
  40. ) (λx.
  41. x
  42. )
  43. ) m m n
  44. ) n m
  45. ) (λx.λy.
  46. y
  47. ) c (λf.λx.
  48. f (f (f (f (f (f (f (f (f (f x)))))))))
  49. ) (λx.λy.λz.
  50. z x y j (λx.λx.λy.
  51. x
  52. )
  53. ) (λres.λx.λy.λz.
  54. z x y (λp.
  55. p (λx.λy.
  56. x
  57. ) res
  58. ) (λx.λy.λz.
  59. z x y c (λp.
  60. p (λx.λy.
  61. y
  62. ) res
  63. )
  64. ) (read_line j)
  65. )
  66. )
  67. ) i
  68. ) i (λj.λs.λf.λx.
  69. f (x x) (λx.
  70. f (x x)
  71. ) (λwrite.λo.λl.λp.
  72. p (λx.λy.λx.λy.
  73. y
  74. ) l o (write (o (λp.
  75. p (λx.λy.
  76. x
  77. ) l
  78. )) (λp.
  79. p (λx.λy.
  80. y
  81. ) l
  82. ))
  83. ) o s
  84. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement