Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
haskell
composite-dhall
Commits
42ff88e5
Commit
42ff88e5
authored
3 years ago
by
locallycompact
Browse files
Options
Download
Email Patches
Plain Diff
Fix re-exports
parent
eafc8713
master
v0.1.0.0
v0.0.6.0
Pipeline
#666
failed with stages
in 13 seconds
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
+18
-11
ChangeLog.md
ChangeLog.md
+5
-0
composite-dhall.cabal
composite-dhall.cabal
+3
-3
package.yaml
package.yaml
+2
-2
src/Composite/Dhall.hs
src/Composite/Dhall.hs
+3
-1
stack.yaml
stack.yaml
+1
-1
stack.yaml.lock
stack.yaml.lock
+4
-4
No files found.
ChangeLog.md
View file @
42ff88e5
# Changelog for composite-dhall
## v0.0.6.0
*
Fix exports for
`F`
and
`CoF`
.
*
Fix Contravariant export for
`TextTemplate`
.
## v0.0.5.0
*
Add Composite.Dhall.CoRec with an instance for
`Field`
.
...
...
This diff is collapsed.
Click to expand it.
composite-dhall.cabal
View file @
42ff88e5
...
...
@@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: composite-dhall
version: 0.0.
4.2
version: 0.0.
6.0
synopsis: Dhall instances for composite records.
description: Dhall instances for composite records.
category: Composite, Data, Dhall
...
...
@@ -43,7 +43,7 @@ library
, composite-base >=0.7.0.0 && <0.8
, dhall >=1.34.0 && <1.40
, text >=1.0 && <1.4
, vinyl >=0.13.0 && <0.1
3.3
, vinyl >=0.13.0 && <0.1
4
default-language: Haskell2010
test-suite composite-dhall-test
...
...
@@ -62,5 +62,5 @@ test-suite composite-dhall-test
, tasty
, tasty-hunit
, text >=1.0 && <1.4
, vinyl >=0.13.0 && <0.1
3.3
, vinyl >=0.13.0 && <0.1
4
default-language: Haskell2010
This diff is collapsed.
Click to expand it.
package.yaml
View file @
42ff88e5
name
:
composite-dhall
version
:
0.0.
5
.0
version
:
0.0.
6
.0
git
:
https://gitlab.homotopic.tech/haskell/composite-dhall
license
:
MIT
author
:
"
Daniel
Firth"
...
...
@@ -39,7 +39,7 @@ dependencies:
-
composite-base >= 0.7.0.0 && <
0.8
-
dhall >= 1.34.0 && <
1.40
-
text >= 1.0 && <
1.4
-
vinyl >= 0.13.0 && < 0.1
3.3
-
vinyl >= 0.13.0 && <
0.1
4
library
:
source-dirs
:
src
...
...
This diff is collapsed.
Click to expand it.
src/Composite/Dhall.hs
View file @
42ff88e5
...
...
@@ -13,7 +13,7 @@
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
module
Composite.Dhall
(
TextTemplate
(
TextTemplate
,
unTextTemplate
),
runTextTemplate
,
F
(
unF
),
CoF
(
unCoF
))
where
module
Composite.Dhall
(
TextTemplate
(
TextTemplate
,
unTextTemplate
),
runTextTemplate
,
F
(
F
,
unF
),
CoF
(
CoF
,
unCoF
))
where
import
Composite.Record
import
Control.Applicative
...
...
@@ -212,6 +212,8 @@ deriving via (CoF (Op b) (s :-> x ': xs)) instance (KnownSymbol s, D.FromDhall (
newtype
TextTemplate
a
=
TextTemplate
{
unTextTemplate
::
Op
Text
a
}
deriving
newtype
(
D
.
FromDhall
)
deriving
newtype
instance
Contravariant
TextTemplate
-- | Run a `TextTemplate` against a value.
--
-- @since 0.0.3.0
...
...
This diff is collapsed.
Click to expand it.
stack.yaml
View file @
42ff88e5
resolver
:
lts-18.
5
resolver
:
lts-18.
8
extra-deps
:
-
composite-base-0.7.5.0
allow-newer
:
true
...
...
This diff is collapsed.
Click to expand it.
stack.yaml.lock
View file @
42ff88e5
...
...
@@ -13,7 +13,7 @@ packages:
hackage: composite-base-0.7.5.0
snapshots:
- completed:
size: 58
5817
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/
5
.yaml
sha256:
22d24d0dacad9c1450b9a174c28d203f9bb482a2a8da9710a2f2a9f4afee2887
original: lts-18.
5
size: 58
7126
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/
8
.yaml
sha256:
93a107557e8691ed5ca17beaee41e68222b142c48868fc8c04a4181fb233477d
original: lts-18.
8
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help