I'm helping! #1411
Answered
by
gcanti
waynevanson
asked this question in
Q&A
I'm helping!
#1411
-
I'm looking forward to version 3! Do you have a todo list? Whether it's here or with the other libraries for compatibility. |
Beta Was this translation helpful? Give feedback.
Answered by
gcanti
Mar 1, 2021
Replies: 1 comment 3 replies
-
Thank you @waynevanson, I have a todo list containing general tasks, like: "weird" namesIn order to be more friendly I'd like to rename some APIs. Examples in v2.10:
unsafe signaturesScan the codebase looking for possibly unsafe signatures. Example ( declare function singleton<K extends string, A>(k: K, a: A): ReadonlyRecord<K, A>
declare const k: 'a' | 'b'
// const x1: Readonly<Record<"a" | "b", number>>
const x1 = singleton(k, 1) type parameters orderIn v3 I'm following this convention: type parameters should be declared in order of appearance. (a linting rule would help) make
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
waynevanson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you @waynevanson,
I have a todo list containing general tasks, like:
"weird" names
In order to be more friendly I'd like to rename some APIs.
Examples in v2.10:
cons
->prepend
snoc
->append
getDualSemigroup
->reverse
fold
->concatAll
unsafe signatures
Scan the codebase looking for possibly unsafe signatures.
Example (
ReadonlyRecord
's singleton)type parameters order
In v3 I'm following this convention: type parameters should be declared in order of appearance.
(a linting rule would help)
make
p…