This commit is contained in:
rhiannon morris 2022-12-01 10:46:26 +01:00
parent ea6fb40895
commit 835eeefc0a
3 changed files with 49 additions and 1 deletions

3
aoc.m
View file

@ -31,7 +31,8 @@ main2(!IO) :-
:- inst solution == (pred(in, in, di, uo) is det).
:- pred solution(int::in, solution::out(solution)) is semidet.
solution(_, _) :- fail.
:- import_module day1.
solution(1, day1.run).
:- pred run(int::in, part::in, list(string)::in, io::di, io::uo) is det.