Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Cloogle
cloogle.org
Commits
8f108dd7
Verified
Commit
8f108dd7
authored
Nov 20, 2018
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also add usages link on results from Clean core; add two ranking constraints
parent
42b838a6
Pipeline
#16565
passed with stage
in 15 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
backend/rank_settings_constraints.json
backend/rank_settings_constraints.json
+4
-0
frontend/api.js
frontend/api.js
+4
-2
No files found.
backend/rank_settings_constraints.json
View file @
8f108dd7
[
[{
"name"
:
"toInt"
},
[
"LT"
,[
"Class"
,
"StdOverloaded"
,
"toInt"
],
[
"Function"
,
"StdChar"
,
"digitToInt"
]]]
,
[{
"name"
:
"Char"
},
[
"LT"
,[
"TypeDef"
,
"_builtin"
,
"Char"
],
[
"Class"
,
"StdOverloaded"
,
"toChar"
]]]
,
[{
"name"
:
"Foldable"
},
[
"LT"
,[
"Class"
,
"Data.Foldable"
,
"Foldable"
],
[
"Class"
,
"Text.StringAppender"
,
"Appendable"
]]]
,
[{
"name"
:
"Foldable"
},
[
"LT"
,[
"Class"
,
"Data.Foldable"
,
"Foldable"
],
[
"Function"
,
"StdList"
,
"foldr"
]]]
...
...
@@ -27,6 +29,8 @@
,
[{
"unify"
:
"Int -> [Int]"
},
[
"LT"
,[
"Function"
,
"Control.Applicative"
,
"pure"
],
[
"Function"
,
"Text.Unicode"
,
"toUnicode"
]]]
,
[{
"unify"
:
"Int -> [Int]"
},
[
"LT"
,[
"Function"
,
"System._Unsafe"
,
"unsafeCoerce"
],
[
"Function"
,
"StdMisc"
,
"undef"
]]]
,
[{
"using"
:[
"Char"
]},
[
"LT"
,[
"TypeDef"
,
"_builtin"
,
"Char"
],
[
"Function"
,
"StdMisc"
,
"abort"
]]]
,
[{
"using"
:[
"Text"
]},
[
"LT"
,[
"Class"
,
"Text"
,
"Text"
],
[
"Function"
,
"Text.Terminal.VT100"
,
"vt100render"
]]]
,
[{
"using"
:[
"Text"
]},
[
"LT"
,[
"Class"
,
"Text"
,
"Text"
],
[
"Function"
,
"iTasks.WF.Tasks.Interaction"
,
"viewTitle"
]]]
]
frontend/api.js
View file @
8f108dd7
...
...
@@ -377,12 +377,14 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
var
basicText
=
basic
[
'
library
'
]
+
'
:
'
+
basic
[
'
modul
'
]
+
'
(
'
+
dclLink
+
'
<a href="
'
+
iclUrl
+
'
" target="_blank">icl
'
+
iclLine
+
'
</a>)
'
+
'
<a class="usages-link" href="#using
'
+
basic
[
'
name
'
]
+
'
" title="Find where this is used">usages →</a>
'
;
'
<a href="
'
+
iclUrl
+
'
" target="_blank">icl
'
+
iclLine
+
'
</a>)
'
;
if
(
'
builtin
'
in
basic
&&
basic
[
'
builtin
'
])
basicText
=
'
Clean core. The actual implementation may differ.
'
;
basicText
+=
'
<a class="usages-link" href="#using
'
+
basic
[
'
name
'
]
+
'
" title="Find where this is used">usages →</a>
'
;
var
result
=
document
.
createElement
(
'
div
'
);
var
basic
=
document
.
createElement
(
'
div
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment