-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP: explore contentProposal function * feat: get type from resolved tokens * feat: make the first test pass * feat: make it work end to end * feat: add markdown fenced code block support * refactor: clean up unused functions and imports * fix: run tests before `installDist` task to catch failures early * refactor: new package layout - types: contains common types - lsp4j: contains the lsp4j bindings The new structure isolates the two language features diagnostics and hover from each other. In other words, the core class diagnostic.Diagnositc should never import hover.Hover and vice versa. * fix: move `index - 1` logic to `PositionLSP4J.fr` * refactor: extract `tokenToRange` to `Range.fr` and reuse it in `Diagnostic.fr` * chore: update frege gradle plugin 2.0.1 -> 4.0.1 This allows to test multiple modules with the `testFrege` command. * refactor: rename LSPDiagnostic -> DiagnosticLSP and FregeDiagnosticService -> DiagnosticService * feat: map compiler hints -> `DiagnosticSeverity.Information` instead of `DIagnosticSeverity.Hint` See #22. * chore: update frege-gradle-plugin to 4.1.0-alpha As a result, the installDist task compiles all frege modules and tests the specified frege modules before installing it. * fix: update workflow to latest gradle plugin v4.1.0-alpha * chore: update gradle wrapper 7.1 -> 7.4.2
- Loading branch information
Showing
27 changed files
with
4,634 additions
and
1,651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
<HTML> | ||
<META http-equiv="Content-Type" content="text/html;charset=utf-8"> | ||
<BODY> | ||
<dl class="func"> | ||
<dt class="func"> | ||
<SPAN CLASS="code"><a name=descending>descending</a> :: <a class="tref" href="./frege/prelude/PreludeBase.html#Ord">Ord</a> 𝖇 => (𝖆->𝖇) -> 𝖆 -> 𝖆 -> <a class="tref" href="./frege/prelude/PreludeBase.html#Ordering">Ordering</a></SPAN></dt> | ||
<dd class="func"> | ||
<p> | ||
<SPAN CLASS="code">descending f</SPAN> applies a projection function on both sides of <a class="fref" href="./frege/prelude/PreludeBase.html#Ord.$lt$eq$gt">Ord.<=></a>, but flips arguments. Example usage:</p> | ||
<PRE> | ||
sortBy (descending fst) [(1, "z"), (2, "b")] == [(2, "b"), (1, "z")]</PRE> | ||
</dd> | ||
</dl> | ||
</BODY> | ||
</HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = 3.0.0-alpha | ||
version = 3.1.0-alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.