repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(cabal check) Add "Autogen include" test for ts
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
BuildToolDepends
/
pre-proc
/
MyCustomPreprocessor.hs
blob
09c949ab1761715c6f34037eeaea7e73122e9f70
1
module
Main
where
2
3
import
System
.
Environment
4
import
System
.
IO
5
6
main
::
IO
()
7
main
=
do
8
(
_
:
source
:
target
:
_
) <-
getArgs
9
let
f
'
0
' = '
1
'
10
f c
=
c
11
writeFile
target
.
map
f
=<<
readFile
source