module Test.Euler.EulerHelper where

import Prelude hiding ((.))
import MPS


-- helper
read_data n = ("data/" ++ n ++ ".txt").read_pure
input_data n = ("data/" ++ n ++ ".in").read_pure
output_data n = ("data/" ++ n ++ ".out").write_pure
process_data n f = f (input_data n) .output_data n
