summaryrefslogtreecommitdiff
path: root/edit-lens/src/Control/DFST.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'edit-lens/src/Control/DFST.lhs')
-rw-r--r--edit-lens/src/Control/DFST.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit-lens/src/Control/DFST.lhs b/edit-lens/src/Control/DFST.lhs
index 94df533..9bd1629 100644
--- a/edit-lens/src/Control/DFST.lhs
+++ b/edit-lens/src/Control/DFST.lhs
@@ -46,7 +46,7 @@ toFST :: forall state input output. (Ord state, Ord input, Ord output) => DFST s
46toFST DFST{..} = flip execState initialFST $ forM_ (Map.toList stTransition) handleTransition 46toFST DFST{..} = flip execState initialFST $ forM_ (Map.toList stTransition) handleTransition
47 where 47 where
48 initialFST = FST 48 initialFST = FST
49 { stInitial = (stInitial, Nothing) 49 { stInitial = Set.singleton (stInitial, Nothing)
50 , stTransition = Map.empty 50 , stTransition = Map.empty
51 , stAccept = Set.map (, Nothing) stAccept 51 , stAccept = Set.map (, Nothing) stAccept
52 } 52 }