Clean up and fix compilation error
This commit is contained in:
parent
3b8e2fcbf9
commit
2a60939aee
3 changed files with 2 additions and 10 deletions
|
|
@ -153,7 +153,7 @@ initialPartition a =
|
|||
minimizeDfa :: (Ord s, Ord t) => Dfa.Dfa s t -> Dfa.Dfa (EquivalenceGroup s) t
|
||||
minimizeDfa a =
|
||||
let grouping = findGroupingFixpoint (stateMap a) (initialPartition a)
|
||||
mapping = partitionToMap $ groupingToPartition grouping
|
||||
mapping = partitionToMap $ Map.keysSet grouping
|
||||
newEntryState = mapping Map.! entryState a
|
||||
newExitStates = Set.map (mapping Map.!) (exitStates a)
|
||||
in fromJust $ fa grouping newEntryState newExitStates
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
-- This file will be split up as it grows.
|
||||
module Rextra.Rextra where
|
||||
|
||||
-- * Just a placeholder function
|
||||
rextra :: IO ()
|
||||
rextra = putStrLn "rextra"
|
||||
Loading…
Add table
Add a link
Reference in a new issue