alternative names for single-letter constructors
See original GitHub issueThe single-letter constructors can be pretty annoying
- they’re hard to search for in a module
- they very easily conflict with local variable names
It’d be nice if we had alternative, longer names for v
, s
, m
, and b
.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Why I am forced to write the (Data Constructor) name with first ...
Why does Haskell force data constructor's first letter to be upper case? the variable names need to be lowercase. The official documentation ...
Read more >synonyms for construction - Thesaurus.com
WORDS RELATED TO CONSTRUCTION ; coherence · agreement. adherence · attachment · bond ; constitution · physical makeup and health. architecture · build...
Read more >69 Synonyms of BUILDER | Merriam-Webster Thesaurus
Synonyms for BUILDER: craftsman, architect, handyman, artist, maker, artificer, workman, manufacturer, tradesman, mechanic.
Read more >Construction Document Sheet Numbers and Order - Archtoolbox
The following table (from the U.S. National CAD Standard) indicates the primary (single) letter designations that may be used and the order that ......
Read more >String Constructor (System) | Microsoft Learn
Use a portion of a character array and repeating a single character ... can improve application performance by using an alternate means of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1. I don’t find the necessity to have single-letter names.
I will close this issue. I think there are a bunch of projects relying on the single letter initializers, they are not going away because it would break backward compatibility badly.