summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleptonyu <>2019-07-11 01:56:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-07-11 01:56:00 (GMT)
commit2fb6a94cd8f549806548748e2d68c2c0499e9bed (patch)
tree9fb95911590ed030e4cd33cee54cc5a6cc5c1eb0
parent3833643e1418ecd6c64483ff526741461dbf61fb (diff)
version 0.2.10HEAD0.2.10master
-rw-r--r--salak-yaml.cabal8
-rw-r--r--src/Salak/Yaml.hs2
2 files changed, 5 insertions, 5 deletions
diff --git a/salak-yaml.cabal b/salak-yaml.cabal
index 1d7e9d3..0028eda 100644
--- a/salak-yaml.cabal
+++ b/salak-yaml.cabal
@@ -1,6 +1,6 @@
cabal-version: 1.12
name: salak-yaml
-version: 0.2.9.3
+version: 0.2.10
license: BSD3
license-file: LICENSE
copyright: (c) 2018 Daniel YU
@@ -26,7 +26,7 @@ library
base >=4.10 && <5,
conduit >=1.3.1.1 && <1.4,
libyaml >=0.1.1.0 && <0.2,
- salak ==0.2.9.*,
+ salak >=0.2.10 && <0.3,
text >=1.2.3.1 && <1.3
test-suite spec
@@ -39,11 +39,11 @@ test-suite spec
default-language: Haskell2010
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
build-depends:
- QuickCheck >=2.12.6.1 && <2.14,
+ QuickCheck >=2.13.2 && <2.14,
base >=4.10 && <5,
conduit >=1.3.1.1 && <1.4,
hspec ==2.*,
libyaml >=0.1.1.0 && <0.2,
mtl >=2.2.2 && <2.3,
- salak ==0.2.9.*,
+ salak >=0.2.10 && <0.3,
text >=1.2.3.1 && <1.3
diff --git a/src/Salak/Yaml.hs b/src/Salak/Yaml.hs
index 1767d90..28887e4 100644
--- a/src/Salak/Yaml.hs
+++ b/src/Salak/Yaml.hs
@@ -26,7 +26,7 @@ import Text.Libyaml
-- | Load Yaml
loadYaml :: MonadIO m => FilePath -> LoadSalakT m ()
-loadYaml file = loadFile file $ \i s -> liftIO $ runConduitRes (decodeFileMarked file .| loadYAML i s)
+loadYaml file = load file $ \i s -> liftIO $ runConduitRes (decodeFileMarked file .| loadYAML i s)
-- | YAML notation for `loadYaml`
data YAML = YAML