day1
This commit is contained in:
parent
ea6fb40895
commit
835eeefc0a
3 changed files with 49 additions and 1 deletions
3
aoc.m
3
aoc.m
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue