Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Software
Mock
Commits
aaa72728
Commit
aaa72728
authored
Nov 21, 2018
by
Nicolas Lenz
Browse files
Start adding main function
parent
5af51aaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Mock.hs
View file @
aaa72728
...
...
@@ -24,3 +24,15 @@ putMockAlternate = putStrLn . mockAlternate
putMockRandom
::
String
->
IO
()
putMockRandom
str
=
mockRandom
str
>>=
putStrLn
main
::
IO
()
main
=
do
args
<-
getArgs
case
length
args
of
0
->
putStrLn
""
help
::
String
help
=
"Mock - a program to transform text.
\n\
\
Usage: mock [STYLE] [TEXT]
\n\
\
Styles:"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment