diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Data/Torrent/JSON.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Torrent/JSON.hs b/src/Data/Torrent/JSON.hs index 71db3039..845b288a 100644 --- a/src/Data/Torrent/JSON.hs +++ b/src/Data/Torrent/JSON.hs | |||
@@ -30,7 +30,7 @@ mapWhile p f = go | |||
30 | go [] = [] | 30 | go [] = [] |
31 | go (x : xs) | 31 | go (x : xs) |
32 | | p x = f x : go xs | 32 | | p x = f x : go xs |
33 | | otherwise = xs | 33 | | otherwise = x : xs |
34 | 34 | ||
35 | omitRecordPrefix :: Options | 35 | omitRecordPrefix :: Options |
36 | omitRecordPrefix = omitLensPrefix | 36 | omitRecordPrefix = omitLensPrefix |