Commit 42ff88e5 authored by locallycompact's avatar locallycompact
Browse files

Fix re-exports

Pipeline #666 failed with stages
in 13 seconds
# 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`.
......
......@@ -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.13.3
, vinyl >=0.13.0 && <0.14
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.13.3
, vinyl >=0.13.0 && <0.14
default-language: Haskell2010
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.13.3
- vinyl >= 0.13.0 && < 0.14
library:
source-dirs: src
......
......@@ -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
......
resolver: lts-18.5
resolver: lts-18.8
extra-deps:
- composite-base-0.7.5.0
allow-newer: true
......
......@@ -13,7 +13,7 @@ packages:
hackage: composite-base-0.7.5.0
snapshots:
- completed:
size: 585817
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/5.yaml
sha256: 22d24d0dacad9c1450b9a174c28d203f9bb482a2a8da9710a2f2a9f4afee2887
original: lts-18.5
size: 587126
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/8.yaml
sha256: 93a107557e8691ed5ca17beaee41e68222b142c48868fc8c04a4181fb233477d
original: lts-18.8
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment