Skip to content

Commit cea33f7

Browse files
committed
Fix code formatting with Prettier - Ensure all files conform to project formatting standards - Fix CI pipeline formatting check
1 parent 79db289 commit cea33f7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/CSE-machine/primitives.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,17 @@ export const primitives: Record<string, (...args: Value[]) => Value> = {
194194
},
195195

196196
"pair?": (value: Value) => {
197-
return { type: "boolean", value: value.type === "pair" || value.type === "list" };
197+
return {
198+
type: "boolean",
199+
value: value.type === "pair" || value.type === "list",
200+
};
198201
},
199202

200203
"list?": (value: Value) => {
201-
return { type: "boolean", value: value.type === "list" || value.type === "nil" };
204+
return {
205+
type: "boolean",
206+
value: value.type === "list" || value.type === "nil",
207+
};
202208
},
203209

204210
"number?": (value: Value) => {

0 commit comments

Comments
 (0)