exprs.parsed 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. [
  2. Puts(
  3. Chc(
  4. [
  5. Choice {
  6. weight: None,
  7. value: Cat(
  8. [
  9. Lit(
  10. Atom(
  11. "This",
  12. ),
  13. ),
  14. Lit(
  15. Atom(
  16. "That",
  17. ),
  18. ),
  19. Lit(
  20. Atom(
  21. "The-Other",
  22. ),
  23. ),
  24. ],
  25. ),
  26. },
  27. ],
  28. ),
  29. ),
  30. Puts(
  31. Chc(
  32. [
  33. Choice {
  34. weight: None,
  35. value: Cat(
  36. [
  37. Lit(
  38. Atom(
  39. "This",
  40. ),
  41. ),
  42. ],
  43. ),
  44. },
  45. Choice {
  46. weight: None,
  47. value: Cat(
  48. [
  49. Lit(
  50. Atom(
  51. "That",
  52. ),
  53. ),
  54. ],
  55. ),
  56. },
  57. Choice {
  58. weight: None,
  59. value: Cat(
  60. [
  61. Lit(
  62. Atom(
  63. "The-Other",
  64. ),
  65. ),
  66. ],
  67. ),
  68. },
  69. ],
  70. ),
  71. ),
  72. Puts(
  73. Chc(
  74. [
  75. Choice {
  76. weight: Some(
  77. 5,
  78. ),
  79. value: Cat(
  80. [
  81. Lit(
  82. Atom(
  83. "This",
  84. ),
  85. ),
  86. ],
  87. ),
  88. },
  89. Choice {
  90. weight: None,
  91. value: Cat(
  92. [
  93. Lit(
  94. Atom(
  95. "That",
  96. ),
  97. ),
  98. ],
  99. ),
  100. },
  101. ],
  102. ),
  103. ),
  104. Puts(
  105. Chc(
  106. [
  107. Choice {
  108. weight: None,
  109. value: Cat(
  110. [
  111. Ap(
  112. Ap(
  113. Var(
  114. "foo",
  115. ),
  116. Var(
  117. "bar",
  118. ),
  119. ),
  120. Var(
  121. "baz",
  122. ),
  123. ),
  124. ],
  125. ),
  126. },
  127. ],
  128. ),
  129. ),
  130. ]