aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Glob.purs
diff options
context:
space:
mode:
authoreric <thul.eric@gmail.com>2016-01-19 08:41:51 -0500
committereric <thul.eric@gmail.com>2016-01-19 08:41:51 -0500
commit2ecf85616a2b56ec9ff675c8f45b7dcf5607fc86 (patch)
treef8ad39dc0d21ae4add8f2a3877edf24294d2910f /src/PursLoader/Glob.purs
parent94cc1cdd03b9c2115813a698b1e4337bce894321 (diff)
parentc01553307e6fcd0abada0b9b2f9ca8d6bb82b863 (diff)
downloadpurs-loader-2ecf85616a2b56ec9ff675c8f45b7dcf5607fc86.tar.gz
purs-loader-2ecf85616a2b56ec9ff675c8f45b7dcf5607fc86.tar.zst
purs-loader-2ecf85616a2b56ec9ff675c8f45b7dcf5607fc86.zip
Merge pull request #34 from ethul/topic/psc-webpack-plugin
Topic/psc webpack plugin
Diffstat (limited to 'src/PursLoader/Glob.purs')
-rw-r--r--src/PursLoader/Glob.purs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/PursLoader/Glob.purs b/src/PursLoader/Glob.purs
deleted file mode 100644
index 45eeb56..0000000
--- a/src/PursLoader/Glob.purs
+++ /dev/null
@@ -1,22 +0,0 @@
1module PursLoader.Glob
2 ( Glob()
3 , globAll
4 ) where
5
6import Prelude (Unit(), ($))
7
8import Control.Monad.Aff (Aff(), makeAff)
9import Control.Monad.Eff (Eff())
10import Control.Monad.Eff.Exception (Error())
11
12import Data.Function
13
14foreign import data Glob :: !
15
16globAll :: forall eff. Array String -> Aff (glob :: Glob | eff) (Array (Array String))
17globAll patterns = makeAff $ runFn3 globAllFn patterns
18
19foreign import globAllFn :: forall eff. Fn3 (Array String)
20 (Error -> Eff (glob :: Glob | eff) Unit)
21 ((Array (Array String)) -> Eff (glob :: Glob | eff) Unit)
22 (Eff (glob :: Glob | eff) Unit)