Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to purs 0.15.10 #481

Merged
merged 5 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ the most up-to-date version of this file.

## Unreleased

## v0.9.8

- Update PureScript to `0.15.10` (@JordanMartinez)

## v0.9.7

- Update Pursuit version in `pursuit.cabal` (@JordanMartinez)
Expand Down
156 changes: 77 additions & 79 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pursuit.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: pursuit
version: 0.9.7
version: 0.9.8
cabal-version: >= 1.8
build-type: Simple
license: MIT
Expand Down Expand Up @@ -102,7 +102,7 @@ library
, containers
, vector
, time
, purescript ==0.15.8
, purescript ==0.15.10
, bower-json
, blaze-builder
, blaze-markup
Expand Down
6 changes: 3 additions & 3 deletions src/SearchIndex.hs
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ compareTypes type1 type2 =
-- a' or 'f a b'.
go (P.TypeApp _ a b) (P.TypeApp _ c d)
| not (isFunction a) || isFunction c = (+) <$> go a c <*> go b d
go (P.ForAll _ _ _ t1 _) t2 = go t1 t2
go t1 (P.ForAll _ _ _ t2 _) = go t1 t2
go (P.ForAll _ _ _ _ t1 _) t2 = go t1 t2
go t1 (P.ForAll _ _ _ _ t2 _) = go t1 t2
go (P.ConstrainedType _ _ t1) t2 = go t1 t2
go t1 (P.ConstrainedType _ _ t2) = go t1 t2
go (P.REmpty _) (P.REmpty _) = pure 0
Expand Down Expand Up @@ -458,7 +458,7 @@ isFunction _ = False

typeComplexity :: D.Type' -> Int
typeComplexity (P.TypeApp _ a b) = 1 + typeComplexity a + typeComplexity b
typeComplexity (P.ForAll _ _ _ t _) = 1 + typeComplexity t
typeComplexity (P.ForAll _ _ _ _ t _) = 1 + typeComplexity t
typeComplexity (P.ConstrainedType _ _ t) = typeComplexity t + 1
typeComplexity (P.REmpty _) = 0
typeComplexity (P.RCons _ _ t r) = 1 + typeComplexity t + typeComplexity r
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extra-deps:
- bytestring-trie-0.2.7@sha256:f78e9d1dba699ce56080824693787918e9e8904db99d04d3470941420b1dd3ed,9010
- classy-prelude-yesod-1.5.0
- language-javascript-0.7.0.0
- purescript-0.15.8
- purescript-0.15.10
- monoidal-containers-0.6.2.0
- protolude-0.3.1
- process-1.6.13.1
Expand Down
8 changes: 4 additions & 4 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ packages:
original:
hackage: language-javascript-0.7.0.0
- completed:
hackage: purescript-0.15.8@sha256:5d7c19e5a49f83acbe8ecc43bf93feb0e075bb11992df9b83af4467aea0bf41d,21427
hackage: purescript-0.15.10@sha256:6c618dcf9d3bbea21b01df1203be16dd9fb0f2fa2ab8f5d2e70a409e3f082bdf,21378
pantry-tree:
sha256: 79dde609e3b525e30234fd76b0901f72d48dea47a879d547864d959f85b81760
size: 156457
sha256: c1d3679420eddf6702b1c0c2f60be4bd79c11e5d1f18f9e0d8d3dc537816740c
size: 157366
original:
hackage: purescript-0.15.8
hackage: purescript-0.15.10
- completed:
hackage: monoidal-containers-0.6.2.0@sha256:97289baf716f22fdae04b4fcbee066453d2f4c630ef3f631aeeab61ee713841e,2309
pantry-tree:
Expand Down
3 changes: 3 additions & 0 deletions static/help-docs/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ When searching by name, an entry in Pursuit's database is considered to be a
match if the query is a prefix of its name. For example, "con" matches "const"
but "cosnt" does not. (This may change in the future.)

Currently, searching for **visible type applications** (e.g. `forall @a. a -> a`)
is not currently supported.

Currently, documentation comments are not included in the search index. This
means that, for example, if you search for "Kleisli", there are no results,
even though the documentation for [`Star`][] mentions that this type is also
Expand Down
Loading