Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
57939c9a
Verified
Commit
57939c9a
authored
Jun 06, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ngrams] don't `crashWith` when pat missing in highlighter
parent
9ca3c95a
Pipeline
#4153
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Functions.purs
src/Gargantext/Core/NgramsTable/Functions.purs
+2
-1
No files found.
src/Gargantext/Core/NgramsTable/Functions.purs
View file @
57939c9a
...
...
@@ -214,7 +214,8 @@ highlightNgrams ntype table@(NgramsTable {ngrams_repo_elements: elts}) cache@{ p
goAcc i acc (pat /\ lpat) =
case lookupRootListWithChildren pat table cache of
Nothing ->
crashWith "highlightNgrams: pattern missing from table"
-- crashWith $ "highlightNgrams: pattern [" <> show pat <> "] missing from table: " <> show table
acc
Just ne_list ->
let
(acc0 /\ acc1_2) = splitAcc i acc
...
...
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