Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Angelov, Georgi
cryptic-solver-haskell
Commits
914fdc60
Commit
914fdc60
authored
Oct 14, 2021
by
Georgi Angelov
Browse files
Removed redundant clue
parent
7d24f11f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Server.hs
View file @
914fdc60
...
...
@@ -11,13 +11,10 @@ myConf = Conf
,
threadGroup
=
threadGroup
nullConf
}
clue
=
(
"Peeling paint, profit slack, upset, in a state"
,
10
)
main
=
simpleHTTP
myConf
$
msum
[
dir
"solve"
$
path
$
\
clue
->
path
$
\
wordLength
->
ok
$
show
(
solveReturn
(
clue
,
wordLength
))
,
dir
"solveAll"
$
path
$
\
clue
->
path
$
\
wordLength
->
ok
$
show
(
solveAllReturn
(
clue
,
wordLength
))
->
ok
$
show
(
solveAllReturn
(
clue
,
wordLength
))
,
dir
"solveWithAnswer"
$
path
$
\
clue
->
path
$
\
wordLength
->
path
$
\
answer
->
ok
$
show
(
solveWithAnswerReturn
(
clue
,
wordLength
)
answer
)
]
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