Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
H
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 78
    • Issues 78
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantext
  • Issues
  • #79

Closed
Open
Opened Sep 03, 2021 by Przemyslaw Kaminski@cgenie
  • Report abuse
  • New issue
Report abuse New issue

Rewrite code to use RecordWildCards and RecordPuns extensions

We have lots of constructors/pattern matching that look like this:

X a b c d e f

This requires mental parsing of paramters a, b, etc. It's better to use the RecordWildCards and RecordPuns extensions:

  • https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/record_wildcards.html
  • https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/record_puns.html#record-puns

Here's a sample: !49 (f3e6e57d)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#79