Commit bb0d6c9b authored by Hans-Peter Deifel's avatar Hans-Peter Deifel 🐢

wta: Change N,or monoid to Word,or

This was also renamed accordingly in CoPaR itself
parent 16d9f095
...@@ -36,14 +36,14 @@ data Opts = Opts ...@@ -36,14 +36,14 @@ data Opts = Opts
readMonoid :: Options.ReadM SomeMonoid readMonoid :: Options.ReadM SomeMonoid
readMonoid = Options.eitherReader $ \case readMonoid = Options.eitherReader $ \case
"Z,max" -> Right (SomeMonoid MaxInt) "Z,max" -> Right (SomeMonoid MaxInt)
"N,or" -> Right (SomeMonoid OrWord) "Word,or" -> Right (SomeMonoid OrWord)
"powerset" -> Right (SomeMonoid Powerset) "powerset" -> Right (SomeMonoid Powerset)
_ -> _ ->
Left Left
$ "Unknown monoid type. Valid values are '" $ "Unknown monoid type. Valid values are '"
<> "Z,max" <> "Z,max"
<> "', '" <> "', '"
<> "N,or" <> "Word,or"
<> "' and '" <> "' and '"
<> "powerset" <> "powerset"
<> "'" <> "'"
...@@ -63,7 +63,7 @@ parseOpts = ...@@ -63,7 +63,7 @@ parseOpts =
( "Monoid to use. Valid valies are '" ( "Monoid to use. Valid valies are '"
<> "Z,max" <> "Z,max"
<> "', '" <> "', '"
<> "N,or" <> "Word,or"
<> "' and '" <> "' and '"
<> "powerset" <> "powerset"
<> "'" <> "'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment