File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : pursuit
2
- version : 0.4.13
2
+ version : 0.5.0
3
3
cabal-version : >= 1.8
4
4
build-type : Simple
5
5
license : MIT
@@ -99,7 +99,7 @@ library
99
99
, containers
100
100
, vector
101
101
, time
102
- , purescript >= 0.10.7
102
+ , purescript >= 0.11.1
103
103
, bower-json >= 1.0.0.1
104
104
, blaze-builder
105
105
, blaze-markup
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ searchForType ty = do
145
145
typeComplexity :: P. Type -> Int
146
146
typeComplexity (P. TypeApp a b) = 1 + typeComplexity a + typeComplexity b
147
147
typeComplexity (P. ForAll _ t _) = 1 + typeComplexity t
148
- typeComplexity (P. ConstrainedType cs t) = typeComplexity t + length cs
148
+ typeComplexity (P. ConstrainedType _ t) = typeComplexity t + 1
149
149
typeComplexity P. REmpty = 0
150
150
typeComplexity (P. RCons _ t r) = 1 + typeComplexity t + typeComplexity r
151
151
typeComplexity (P. KindedType t _) = typeComplexity t
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ getHtmlRenderContext = do
180
180
{ currentModuleName = currentMn
181
181
, buildDocLink = D. getLink linksContext currentMn
182
182
, renderDocLink = renderUrl . docLinkRoute linksContext currentMn
183
- , renderSourceLink = renderSourceLink' linksContext
183
+ , renderSourceLink = Just . renderSourceLink' linksContext
184
184
}
185
185
186
186
renderSourceLink' :: D. LinksContext -> P. SourceSpan -> Text
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ extra-deps:
11
11
- http-client-0.4.31.2
12
12
- http-client-tls-0.2.4.1
13
13
- http-conduit-2.1.11
14
- - optparse-applicative-0.13.0 .0
14
+ - optparse-applicative-0.13.2 .0
15
15
- pipes-4.2.0
16
16
- pipes-http-1.0.5
17
- - purescript-0.10.7
17
+ - purescript-0.11.1
18
18
- websockets-0.9.8.2
You can’t perform that action at this time.
0 commit comments