Skip to content

Commit 468a22a

Browse files
committed
Swap cons cell order in runtime for Knock+
1 parent f174c68 commit 468a22a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

knock-plus/values.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ typedef enum type_t {
1212
T_INT,
1313
T_BOOL,
1414
T_CHAR,
15-
T_EOF,
15+
T_EOF,
1616
T_VOID,
1717
T_EMPTY,
1818
/* pointers */
@@ -27,8 +27,8 @@ typedef struct val_box_t {
2727
val_t val;
2828
} val_box_t;
2929
typedef struct val_cons_t {
30-
val_t snd;
3130
val_t fst;
31+
val_t snd;
3232
} val_cons_t;
3333
typedef struct val_vect_t {
3434
uint64_t len;

0 commit comments

Comments
 (0)