diff options
Diffstat (limited to 'edit-lens/src/Control/DFST.lhs')
-rw-r--r-- | edit-lens/src/Control/DFST.lhs | 2 |
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 | |||
46 | toFST DFST{..} = flip execState initialFST $ forM_ (Map.toList stTransition) handleTransition | 46 | toFST 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 | } |