summaryrefslogtreecommitdiffhomepage
path: root/Output.hs
blob: 5aa30722f4d0fc8041fdcf63b4fbb1949c15a7c0 (plain)
1
2
3
4
5
6
7
8
9
10
module Output where

import Data.Char

sanitizeForDisplay :: String -> String
sanitizeForDisplay = map go
  where
	go c
		| isPrint c = c
		| otherwise = '?'