Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Frontull Samuel
alpha
Commits
a9edcd87
Commit
a9edcd87
authored
Jul 27, 2021
by
Frontull Samuel
Browse files
removed one problem
parent
55ebf977
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
pcp/pcp.hs
pcp/pcp.hs
+3
-6
No files found.
pcp/pcp.hs
View file @
a9edcd87
...
...
@@ -157,6 +157,7 @@ newtype Mu a = Mu (Mu a -> a)
ycomb
::
(
b
->
b
)
->
b
ycomb
f
=
(
\
h
->
h
$
Mu
h
)
(
\
x
->
f
.
(
\
(
Mu
g
)
->
g
)
x
$
x
)
-- LISTS
type
LCListT
b
=
forall
a
.
(
b
->
a
->
a
)
->
a
->
a
...
...
@@ -249,13 +250,9 @@ problem_2 = cons (pair a abbb) (cons (pair bb b) nil)
problem_3
::
ListStrPairs
-- undecidable
problem_3
=
cons
(
pair
bba
b
)
(
cons
(
pair
b
ab
)
(
cons
(
pair
a
bba
)
nil
))
-- [(baa, b), (a, baa), (b, a)]
problem_4
::
ListStrPairs
-- has a solution of length 74
problem_4
=
cons
(
pair
baa
b
)
(
cons
(
pair
a
baa
)
(
cons
(
pair
b
a
)
nil
))
-- [(ab, a), (ab, bba), (a, baa), (baa, ba)]
problem_
5
::
ListStrPairs
-- has a solution of length 76
problem_
5
=
cons
(
pair
ab
a
)
(
cons
(
pair
ab
bba
)
(
cons
(
pair
a
baa
)
(
cons
(
pair
baa
ba
)
nil
)))
problem_
4
::
ListStrPairs
-- has a solution of length 76
problem_
4
=
cons
(
pair
ab
a
)
(
cons
(
pair
ab
bba
)
(
cons
(
pair
a
baa
)
(
cons
(
pair
baa
ba
)
nil
)))
-- PARSE LC ENCODINGS TO STRINGS
...
...
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