Skip to content

Commit 9cd9c49

Browse files
committed
Fixed an example and removed an unused include.
1 parent c6e92a7 commit 9cd9c49

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/names.mtpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Ken Thompson
2121
}]]}]\
2222
\
2323
[let> count [len> [=> first_names]]]\
24-
[if> #f
24+
[if> [:>[not> [eq> [=> count] [len> [=> surnames]]]]]
2525
{ [:> Number of names provided must be equal! ] }
2626
{ [**> map_names _] }]
2727

src/substitute.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <mintpl/generators.h>
44

55
#include <stdbool.h>
6-
#include <stdio.h>
76
#include <stdlib.h>
87
#include <string.h>
98

0 commit comments

Comments
 (0)