summaryrefslogtreecommitdiff
path: root/src/Porcupine
diff options
context:
space:
mode:
authorYvesPares <>2019-10-09 10:16:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-10-09 10:16:00 (GMT)
commit0a26644cffcc096b169b4f1ee3b790b562c01c51 (patch)
tree0404a48f10a79540a26f315f0af2da316474e3a9 /src/Porcupine
version 0.1.0.00.1.0.0
Diffstat (limited to 'src/Porcupine')
-rw-r--r--src/Porcupine/Foldl.hs13
-rw-r--r--src/Porcupine/Run.hs5
-rw-r--r--src/Porcupine/Serials.hs7
-rw-r--r--src/Porcupine/Tasks.hs5
-rw-r--r--src/Porcupine/VFiles.hs15
5 files changed, 45 insertions, 0 deletions
diff --git a/src/Porcupine/Foldl.hs b/src/Porcupine/Foldl.hs
new file mode 100644
index 0000000..8cf5e59
--- /dev/null
+++ b/src/Porcupine/Foldl.hs
@@ -0,0 +1,13 @@
+-- | This module implements a Foldl-based interface for arrow computations
+-- compatible with the <https://hackage.haskell.org/package/foldl foldl
+-- library>. Use 'generalizeA' and 'generalizeM' to convert folds to
+-- 'FoldA'. This is the most general way to repeat a PTask over some an input
+-- (list, array, stream, etc.).
+--
+-- This API is still experimental and might be subject to changes in the future
+
+module Porcupine.Foldl
+ ( module System.TaskPipeline.Repetition.Foldl )
+where
+
+import System.TaskPipeline.Repetition.Foldl
diff --git a/src/Porcupine/Run.hs b/src/Porcupine/Run.hs
new file mode 100644
index 0000000..b52cb7c
--- /dev/null
+++ b/src/Porcupine/Run.hs
@@ -0,0 +1,5 @@
+module Porcupine.Run
+ ( module System.TaskPipeline.Run )
+ where
+
+import System.TaskPipeline.Run
diff --git a/src/Porcupine/Serials.hs b/src/Porcupine/Serials.hs
new file mode 100644
index 0000000..ee08632
--- /dev/null
+++ b/src/Porcupine/Serials.hs
@@ -0,0 +1,7 @@
+module Porcupine.Serials
+ ( module Data.Locations.SerializationMethod
+ , Profunctor(..) )
+where
+
+import Data.Locations.SerializationMethod
+import Data.Profunctor
diff --git a/src/Porcupine/Tasks.hs b/src/Porcupine/Tasks.hs
new file mode 100644
index 0000000..b7dc487
--- /dev/null
+++ b/src/Porcupine/Tasks.hs
@@ -0,0 +1,5 @@
+module Porcupine.Tasks
+ ( module System.TaskPipeline )
+ where
+
+import System.TaskPipeline
diff --git a/src/Porcupine/VFiles.hs b/src/Porcupine/VFiles.hs
new file mode 100644
index 0000000..1b5d15d
--- /dev/null
+++ b/src/Porcupine/VFiles.hs
@@ -0,0 +1,15 @@
+module Porcupine.VFiles
+ ( VirtualFile(..), VFileImportance(..)
+ , BidirVirtualFile, DataSource, DataSink
+ , LocationTreePathItem
+ , Store
+ , documentedFile
+ , usesLayeredMapping, canBeUnmapped, unmappedByDefault
+ , usesCacherWithIdent
+ , clockVFileAccesses
+ , bidirVirtualFile, dataSource, dataSink
+ , makeSource, makeSink )
+where
+
+import Data.Locations.VirtualFile
+import Data.Store