FxTS
FxTS copied to clipboard
A functional programming library for TypeScript/JavaScript
- only supoort number type - empty array returns zero Fixes #156
# Could we have a change.md file in the repo to indicate significant changes with each published version change ## β Suggestion CHANGE.MD file ## π» Use Cases Allows seeing...
# Suggestion ## β Suggestion If an empty array is entered as the argument value of the [sum function](https://fxts.dev/docs/sum), undefined is output. Returning 0 seems more natural. as-is ```ts const...
## Summary How about placing the test file and implementation code together? The two codes are separated and there are many files in the folder, so it is inconvenient to...
# Bug Report typescript 4.5.2 μ΄μμμ νμ μΆλ‘ κ³Ό κ΄λ ¨λ λ²κ·Έκ° λ°μλκ³ μμ΅λλ€. ``` node_modules/@fxts/core/dist/types/juxt.d.ts:33:76 - error TS2321: Excessive stack depth comparing types 'And' and 'any[] & And'. 33 declare function juxt(fs:...
# Bug Report ### π» Code `npm run test` failed intermittently due to timeout.  ### π Actual behavior The `setTimeout` set in test does not match intermittently. ### π...
## Suggestion Hello. If you open the main branch's command log now, you can see unnecessary merge commits mixed in. These noise commits do not help make pretty commitments. Why...
# Suggestion ## β Suggestion tc39 also prepares methods for lazy evaluation. We need to develop the functions being prepared in tc39 in advance. **Additional context** fxts can be evaluated...
There is no contribution guideline yet, so we'd better make it. example https://github.com/mattermost/mattermost-server/blob/master/CONTRIBUTING.md https://github.com/firebase/firebase-js-sdk/blob/master/CONTRIBUTING.md https://github.com/yorkie-team/yorkie/blob/main/CONTRIBUTING.md https://reactjs.org/docs/how-to-contribute.html
# Suggestion ## β Suggestion Supports method chaining only for commonly used functions. The functions that will be provided first are as follows. - map - flatMap - flat -...