summaryrefslogtreecommitdiff
path: root/src/example-based
diff options
context:
space:
mode:
Diffstat (limited to 'src/example-based')
-rw-r--r--src/example-based/ExampleDemo.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example-based/ExampleDemo.hs b/src/example-based/ExampleDemo.hs
index 49aa6d218..0c187219a 100644
--- a/src/example-based/ExampleDemo.hs
+++ b/src/example-based/ExampleDemo.hs
@@ -158,7 +158,7 @@ embedInStart fss cs =
nextmap = Map.union cs nextset
maybeExpr = Map.lookup startCateg nextset
in if isNothing maybeExpr then
- if Map.size nextmap == Map.size cs then error $ "could't build " ++ show startCateg ++ "with " ++ show fss
+ if Map.size nextmap == Map.size cs then Nothing --error $ "could't build " ++ show startCateg ++ "with " ++ show fss
else embedInStart fss nextmap
else return $ fromJust maybeExpr
where