import PMInstance import PMDefaults import ProposalMatcher import System.IO import Data.Array.IArray import Data.Array.Unboxed import ArrayStuff import TSV -- Command-line interface with simple tab-separated input/output formats. -- ./match read (pxarr ! (j, i))) let theInst = PMInstance numRvrs numProps loadA prefA let PMatching theMatching = doMatching pmDefaults theInst hPutStr stdout $ formatTSV $ map (\(i, j) -> map show [i, j]) theMatching