Skip to content

Commit

Permalink
Move Wordle words and answers into CSV files
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhyde committed Dec 13, 2023
1 parent 1b05c15 commit b0505fe
Show file tree
Hide file tree
Showing 5 changed files with 15,322 additions and 1,823 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/hydromatic/morel/eval/Directory.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ private static Object unquoteString(String s) {
}

@Override public <V> V valueAs(Class<V> clazz) {
Object[] values = new Object[parsers.size()];
try (BufferedReader r = fileType.open(file)) {
String firstLine = r.readLine();
if (firstLine == null) {
return null;
}
final Object[] values = new Object[parsers.size()];
final List<List<Object>> list = new ArrayList<>();
for (;;) {
String line = r.readLine();
Expand All @@ -236,8 +236,8 @@ private static Object unquoteString(String s) {
}
} catch (IOException e) {
// ignore
return null;
}
return null;
}

@Override public Type.Key typeKey() {
Expand Down
Loading

0 comments on commit b0505fe

Please sign in to comment.