From 15f7f81b5433a53eb531d191ceb15928d487f64e Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 8 Jun 2017 13:18:44 -0400 Subject: [PATCH] InUnion -> :< --- src/Renderer/TOC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/TOC.hs b/src/Renderer/TOC.hs index df6045985..923c02659 100644 --- a/src/Renderer/TOC.hs +++ b/src/Renderer/TOC.hs @@ -114,7 +114,7 @@ declarationAlgebra proxy source r where getSource = toText . flip Source.slice source . byteRange . extract -- | Compute 'Declaration's with the headings of 'Markup.Section's. -markupSectionAlgebra :: (InUnion fs Markup.Section, InUnion fs (Syntax.Error error), HasField fields Range, Show error, Functor (Union fs)) +markupSectionAlgebra :: (Markup.Section :< fs, Syntax.Error error :< fs, HasField fields Range, Show error, Functor (Union fs)) => Proxy error -> Source -> RAlgebra (TermF (Union fs) (Record fields)) (Term (Union fs) (Record fields)) (Maybe Declaration)