We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c9794d commit 4ce7087Copy full SHA for 4ce7087
2 files changed
langs/neerdowell/compile-literals.rkt
@@ -93,6 +93,7 @@
93
[(PBox p) (literals-pat p)]
94
[(PCons p1 p2) (append (literals-pat p1) (literals-pat p2))]
95
[(PAnd p1 p2) (append (literals-pat p1) (literals-pat p2))]
96
+ [(PStruct t ps) (append-map literals-pat ps)]
97
[_ '()]))
98
99
;; Datum -> [Listof (U Symbol String)]
langs/outlaw/compile-literals.rkt
@@ -97,6 +97,7 @@
[(PPred e) (literals-e e)]
100
101
102
103
0 commit comments