Skip to content
Snippets Groups Projects
Commit 79821907 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Generalize ghcInterpreter

parent 94a2b436
No related branches found
No related tags found
1 merge request!10Enable testing of Word64# on 32-bit platforms
......@@ -25,7 +25,7 @@ refInterpreter = pure . interpret
-- | An 'Interpreter' which compiles and evaluates the given expression.
-- May throw 'ProcessFailure' when test program diverges.
ghcInterpreter :: EvalMethod -> Interpreter WordSize
ghcInterpreter :: EvalMethod -> Interpreter w
ghcInterpreter em e =
fromUnsigned <$> throwFailure (evalExpr em e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment