From cb67d79deac24ae8db06aef548d10677a8c30b9f Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Mon, 2 Nov 2015 12:03:16 -0500 Subject: [PATCH] Parse finite lists. --- prototype/doubt-difftool/Argument.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/prototype/doubt-difftool/Argument.swift b/prototype/doubt-difftool/Argument.swift index d7b894876..e61dd369f 100644 --- a/prototype/doubt-difftool/Argument.swift +++ b/prototype/doubt-difftool/Argument.swift @@ -39,6 +39,7 @@ private let source: Madness.Parser<[String], Source>.Function = let argumentsParser: Madness.Parser<[String], Argument>.Function = fix { rest in (curry(Argument.OutputFlag) <^> flag <|> curry(Argument.File) <^> source) <*> rest + <|> pure(Argument.End) } import Madness