File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import HaskellWorks.Data.TreeCursor
21
21
import HaskellWorks.Data.Xml.DecodeResult
22
22
import HaskellWorks.Data.Xml.RawDecode
23
23
import HaskellWorks.Data.Xml.RawValue
24
+ import HaskellWorks.Data.Xml.Succinct.Cursor.Load
24
25
import HaskellWorks.Data.Xml.Succinct.Cursor.MMap
25
26
import HaskellWorks.Data.Xml.Succinct.Index
26
27
import HaskellWorks.Data.Xml.Value
@@ -71,9 +72,10 @@ runCount opt = do
71
72
IO. putStrLn $ " XPath: " <> show xpath
72
73
73
74
cursorResult <- case method of
74
- " mmap" -> Right <$> mmapFastCursor input
75
- " naive" -> Right <$> NAIVE. loadFastCursor input
76
- unknown -> return (Left (" Unknown method " <> show unknown))
75
+ " mmap" -> Right <$> mmapFastCursor input
76
+ " memory" -> Right <$> loadFastCursor input
77
+ " naive" -> Right <$> NAIVE. loadFastCursor input
78
+ unknown -> return (Left (" Unknown method " <> show unknown))
77
79
78
80
case cursorResult of
79
81
Right ! cursor -> do
You can’t perform that action at this time.
0 commit comments