summaryrefslogtreecommitdiff
path: root/src/Sequence
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-06 02:48:33 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-06 02:48:33 +0200
commit2a15ddf776ba421e1fb1d3bc31eaee8a39fa1917 (patch)
tree12d428ff7c0cd2f520b01410ab022d6c065058b5 /src/Sequence
parente42a30cd80ddf2202af0c690152b59350a4f1097 (diff)
download2017-01-16_17:13:37-2a15ddf776ba421e1fb1d3bc31eaee8a39fa1917.tar
2017-01-16_17:13:37-2a15ddf776ba421e1fb1d3bc31eaee8a39fa1917.tar.gz
2017-01-16_17:13:37-2a15ddf776ba421e1fb1d3bc31eaee8a39fa1917.tar.bz2
2017-01-16_17:13:37-2a15ddf776ba421e1fb1d3bc31eaee8a39fa1917.tar.xz
2017-01-16_17:13:37-2a15ddf776ba421e1fb1d3bc31eaee8a39fa1917.zip
No context is admissable
Diffstat (limited to 'src/Sequence')
-rw-r--r--src/Sequence/Formula.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Sequence/Formula.hs b/src/Sequence/Formula.hs
index 9000c58..d486bab 100644
--- a/src/Sequence/Formula.hs
+++ b/src/Sequence/Formula.hs
@@ -46,6 +46,9 @@ instance a :<: (a, b) where
46instance a :<: (b, a) where 46instance a :<: (b, a) where
47 ctx' = _2 47 ctx' = _2
48 48
49instance () :<: a where
50 ctx' = united
51
49data Context small = forall large. (small :<: large) => Context large 52data Context small = forall large. (small :<: large) => Context large
50 53
51ctx :: Traversal' (Context input) input 54ctx :: Traversal' (Context input) input