From: Matt McCutchen Date: Fri, 11 Jul 2008 03:47:56 +0000 (-0400) Subject: Remove an unneeded forall. X-Git-Url: https://mattmccutchen.net/match/match.git/commitdiff_plain/5dcb8125788c498643b2da688fd522816d13dc85 Remove an unneeded forall. --- diff --git a/program/BellmanFord.hs b/program/BellmanFord.hs index da0fdf8..34e2a63 100644 --- a/program/BellmanFord.hs +++ b/program/BellmanFord.hs @@ -81,7 +81,7 @@ endPass state = do aqEnqueue (bfsChanged state) (bfsPassEnder state) search state -- Continue with the next pass. -search :: forall s gr a b w. (Graph gr, Real w) => BFState s gr a b w -> ST s () +search :: (Graph gr, Real w) => BFState s gr a b w -> ST s () search state = do Just node <- aqDequeue (bfsChanged state) if node == bfsPassEnder state