summaryrefslogtreecommitdiff
path: root/src/GF/Data
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-12-22 23:16:15 +0000
committerbringert <bringert@cs.chalmers.se>2005-12-22 23:16:15 +0000
commite32472a9bb40468bd77db839d683bd15e89db2e1 (patch)
treee2756756fc5b75f577a500438e34922c3b7b6d5f /src/GF/Data
parent29ba681242acd62a28e2facdad733619bf8d994f (diff)
Some performance improvements in the FA generation.
Diffstat (limited to 'src/GF/Data')
-rw-r--r--src/GF/Data/Utilities.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/GF/Data/Utilities.hs b/src/GF/Data/Utilities.hs
index d7e6be2f0..50d1f5195 100644
--- a/src/GF/Data/Utilities.hs
+++ b/src/GF/Data/Utilities.hs
@@ -34,11 +34,6 @@ lookupList a [] = []
lookupList a (p:ps) | a == fst p = snd p : lookupList a ps
| otherwise = lookupList a ps
--- | Find the first list in a list of lists
--- which contains the argument.
-findSet :: Eq c => c -> [[c]] -> Maybe [c]
-findSet x = find (x `elem`)
-
split :: [a] -> ([a], [a])
split (x : y : as) = (x:xs, y:ys)
where (xs, ys) = split as