Skip to content

[ refactor ] rename + deprecate Data.List.Base. _∷ʳ′_ #3089

Description

@jamesmckinna

Elsewhere (but I can't quite find it...) @gallais has invoked a style heuristic (policy?) whereby function symbols, when 'quoted' as 'syntax', namely as constructors of eg. Expr datatypes making syntax out of algebraic expressios (cf. Algebra.Solver.*, Tactic.*Solver etc.), should have a prefixing backtick to 'turn the function name into a constructor name'...

... whereas Data.List.Base. _∷ʳ′_ makes it a suffixing annotation, and making the name, already with superscript ʳ an absolute horrorshow...

Accordingly, we should:

  • change the name in Data.List.Base
  • make a style-guide policy decision
  • find, and 'standardise', any other such idioms in the library

UPDATED: hmm, looking again at eg Tactic.RingSolver, I'm not sure that I have got the idiom/convention quite right. Advice welcome!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions