Skip to content

Commit ea6a220

Browse files
Update to purs 0.15.10 (#481)
* Update to purs-0.15.10 * Update usages of ForAll * Update license file * Update changelog * Explicitly note that VTA-search not supported
1 parent 8d490b9 commit ea6a220

File tree

7 files changed

+94
-89
lines changed

7 files changed

+94
-89
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ the most up-to-date version of this file.
55

66
## Unreleased
77

8+
## v0.9.8
9+
10+
- Update PureScript to `0.15.10` (@JordanMartinez)
11+
812
## v0.9.7
913

1014
- Update Pursuit version in `pursuit.cabal` (@JordanMartinez)

LICENSE

Lines changed: 77 additions & 79 deletions
Large diffs are not rendered by default.

pursuit.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: pursuit
2-
version: 0.9.7
2+
version: 0.9.8
33
cabal-version: >= 1.8
44
build-type: Simple
55
license: MIT
@@ -102,7 +102,7 @@ library
102102
, containers
103103
, vector
104104
, time
105-
, purescript ==0.15.8
105+
, purescript ==0.15.10
106106
, bower-json
107107
, blaze-builder
108108
, blaze-markup

src/SearchIndex.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,8 @@ compareTypes type1 type2 =
409409
-- a' or 'f a b'.
410410
go (P.TypeApp _ a b) (P.TypeApp _ c d)
411411
| not (isFunction a) || isFunction c = (+) <$> go a c <*> go b d
412-
go (P.ForAll _ _ _ t1 _) t2 = go t1 t2
413-
go t1 (P.ForAll _ _ _ t2 _) = go t1 t2
412+
go (P.ForAll _ _ _ _ t1 _) t2 = go t1 t2
413+
go t1 (P.ForAll _ _ _ _ t2 _) = go t1 t2
414414
go (P.ConstrainedType _ _ t1) t2 = go t1 t2
415415
go t1 (P.ConstrainedType _ _ t2) = go t1 t2
416416
go (P.REmpty _) (P.REmpty _) = pure 0
@@ -458,7 +458,7 @@ isFunction _ = False
458458

459459
typeComplexity :: D.Type' -> Int
460460
typeComplexity (P.TypeApp _ a b) = 1 + typeComplexity a + typeComplexity b
461-
typeComplexity (P.ForAll _ _ _ t _) = 1 + typeComplexity t
461+
typeComplexity (P.ForAll _ _ _ _ t _) = 1 + typeComplexity t
462462
typeComplexity (P.ConstrainedType _ _ t) = typeComplexity t + 1
463463
typeComplexity (P.REmpty _) = 0
464464
typeComplexity (P.RCons _ _ t r) = 1 + typeComplexity t + typeComplexity r

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extra-deps:
1212
- bytestring-trie-0.2.7@sha256:f78e9d1dba699ce56080824693787918e9e8904db99d04d3470941420b1dd3ed,9010
1313
- classy-prelude-yesod-1.5.0
1414
- language-javascript-0.7.0.0
15-
- purescript-0.15.8
15+
- purescript-0.15.10
1616
- monoidal-containers-0.6.2.0
1717
- protolude-0.3.1
1818
- process-1.6.13.1

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ packages:
3737
original:
3838
hackage: language-javascript-0.7.0.0
3939
- completed:
40-
hackage: purescript-0.15.8@sha256:5d7c19e5a49f83acbe8ecc43bf93feb0e075bb11992df9b83af4467aea0bf41d,21427
40+
hackage: purescript-0.15.10@sha256:6c618dcf9d3bbea21b01df1203be16dd9fb0f2fa2ab8f5d2e70a409e3f082bdf,21378
4141
pantry-tree:
42-
sha256: 79dde609e3b525e30234fd76b0901f72d48dea47a879d547864d959f85b81760
43-
size: 156457
42+
sha256: c1d3679420eddf6702b1c0c2f60be4bd79c11e5d1f18f9e0d8d3dc537816740c
43+
size: 157366
4444
original:
45-
hackage: purescript-0.15.8
45+
hackage: purescript-0.15.10
4646
- completed:
4747
hackage: monoidal-containers-0.6.2.0@sha256:97289baf716f22fdae04b4fcbee066453d2f4c630ef3f631aeeab61ee713841e,2309
4848
pantry-tree:

static/help-docs/users.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ When searching by name, an entry in Pursuit's database is considered to be a
6767
match if the query is a prefix of its name. For example, "con" matches "const"
6868
but "cosnt" does not. (This may change in the future.)
6969

70+
Currently, searching for **visible type applications** (e.g. `forall @a. a -> a`)
71+
is not currently supported.
72+
7073
Currently, documentation comments are not included in the search index. This
7174
means that, for example, if you search for "Kleisli", there are no results,
7275
even though the documentation for [`Star`][] mentions that this type is also

0 commit comments

Comments
 (0)