summaryrefslogtreecommitdiff
path: root/src/Flow.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Flow.hs')
-rw-r--r--src/Flow.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Flow.hs b/src/Flow.hs
index 349178f..657eafb 100644
--- a/src/Flow.hs
+++ b/src/Flow.hs
@@ -4,7 +4,7 @@ module Flow (
readFlow, writeFlow, writeFlowBulk,
readFlowIO, writeFlowIO,
- mapPath,
+ mapFlow,
) where
import Control.Concurrent.STM
@@ -47,6 +47,6 @@ writeFlowIO :: Flow r w -> w -> IO ()
writeFlowIO path = atomically . writeFlow path
-mapPath :: (r -> r') -> (w' -> w) -> Flow r w -> Flow r' w'
-mapPath rf wf (MappedFlow rf' wf' up) = MappedFlow (rf . rf') (wf' . wf) up
-mapPath rf wf up = MappedFlow rf wf up
+mapFlow :: (r -> r') -> (w' -> w) -> Flow r w -> Flow r' w'
+mapFlow rf wf (MappedFlow rf' wf' up) = MappedFlow (rf . rf') (wf' . wf) up
+mapFlow rf wf up = MappedFlow rf wf up