From 35b7ae9561b3dc312b857cadb3e99e14594d29a6 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sat, 28 Sep 2024 10:30:49 -0600 Subject: Option parsing with optparse-applicative --- src/Language/Fiddle/Compiler/ConsistencyCheck.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Language/Fiddle/Compiler/ConsistencyCheck.hs') diff --git a/src/Language/Fiddle/Compiler/ConsistencyCheck.hs b/src/Language/Fiddle/Compiler/ConsistencyCheck.hs index 4c708f7..5c7b399 100644 --- a/src/Language/Fiddle/Compiler/ConsistencyCheck.hs +++ b/src/Language/Fiddle/Compiler/ConsistencyCheck.hs @@ -54,7 +54,7 @@ type SizeBytes = Word32 consistencyCheckPhase :: CompilationPhase Expanded Checked consistencyCheckPhase = - CompilationPhase (const $ return ()) (\() -> checkConsistency) + CompilationPhase (pure ()) (\_ _ -> return ()) (\_ _ -> checkConsistency) checkConsistency :: FiddleUnit Expanded I Annot -> -- cgit