hpastetwo

renderf problem.

author
luke
age
391 days
language
text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Preprocessing executables for blog-0.1...
Building blog-0.1...
[13 of 16] Compiling Blog.Views       ( src/Blog/Views.hs, dist/build/blog.cgi/blog.cgi-tmp/Blog/Views.o )

src/Blog/Views.hs:87:40:
    Overlapping instances for SEType
                                a
                                (([Char], [(Blog.Category.Category, [Char])])
                                 -> ([Char], Bool)
                                 -> ByteString)
      arising from a use of `renderf'
                   at src/Blog/Views.hs:(87,40)-(89,42)
    Matching instances:
      instance (ToSElem a, SEType b r) => SEType b ((String, a) -> r)
        -- Defined in HStringTemplate-0.5.1.3:Text.StringTemplate.Renderf
      instance (Stringable a) => SEType a a
        -- Defined in HStringTemplate-0.5.1.3:Text.StringTemplate.Renderf
    (The choice depends on the instantiation of `a'
     To pick the first instance above, use -XIncoherentInstances
     when compiling the other instance declarations)
    In the second argument of `($)', namely
        `(renderf
            t ("categories", categories) ("hasCategories", not $ null cats))'
    In the second argument of `($)', namely
        `standardResponseBS
       $ (renderf
            t ("categories", categories) ("hasCategories", not $ null cats))'
    In the second argument of `($)', namely
        `Just
       $   standardResponseBS
         $ (renderf
              t ("categories", categories) ("hasCategories", not $ null cats))'

HOvJgkJgUcpzyoVnLEi

author
Red66
age
281 days
language
haskell
1
Is every writer the same, or are there particular things you should be looking for when hiring a writer? ,