Anthony G
Anthony G
Closes https://github.com/gcanti/fp-ts/issues/1331
## 🚀 Feature request Use string 'template literal' behavior for 'smarter' return types ### Current Behavior ```ts import { pipe } from 'fp-ts/function' import { startsWith } from 'fp-ts/string' import...
## 🐛 Bug report `evolve`, as [currently defined](https://github.com/gcanti/fp-ts/blob/master/src/struct.ts#L56), exhibits strange behavior re: partial fields ### Current Behavior Given: ```ts interface A { a?: 'a'; b?: 'b'; c?: 'c'; } const...
Closes https://github.com/gcanti/fp-ts-rxjs/issues/39 (allows OperatorFunctions e.g. filter to be used on ObservableEither, ObservableThese, ReaderObservableEither and StateReaderObservableEither) Version of https://github.com/gcanti/fp-ts-rxjs/pull/47, branched from master
I often end up needing a way to use [OperatorFunction](https://github.com/ReactiveX/rxjs/blob/master/src/internal/types.ts#L31)'s on the right case of ObservableEither's E.g. [filter](https://www.learnrxjs.io/learn-rxjs/operators/filtering/filter) or [takeUntil](https://www.learnrxjs.io/learn-rxjs/operators/filtering/takeuntil) for ObservableEither. [Most operators, really](https://www.learnrxjs.io/learn-rxjs/operators) ``` const liftEither = (...
Adapts [lodash's mergeWith](https://lodash.com/docs/4.17.15#mergeWith) using fp-ts idioms & type safety ```ts import * as S from "fp-ts/string"; const test = mergeWith( { a: { b: 'hello' } }, { a: {...
Closes https://github.com/gcanti/io-ts/issues/453, Closes https://github.com/gcanti/io-ts/issues/635 Completes the work started by @gcanti in the [poc branch](https://github.com/gcanti/io-ts/tree/poc), which is explained at a high level [here (by the author)](https://github.com/gcanti/io-ts/issues/453#issuecomment-842095270) and [in the docs](https://github.com/anthonyjoeseph/io-ts/blob/poc-complete/Decoder.md) As...
My ios app only works in landscape mode. Using the `PhoneInput` component, I get the error: `console.error: "Modal was presented with 0x2 orientations mask but the application only supports 0x18.Add...
My app only works in landscape mode. When I use the `PhoneInput` component, I get this error: `console.error: "Modal was presented with 0x2 orientations mask but the application only supports...
## 🚀 Feature request As discussed in https://github.com/gcanti/fp-ts/issues/1460#issuecomment-824204261, adding `insertAt` and `renameAt` functions to all optics ### Current Behavior ```ts const user = { boss: { name: 'Anthony' } }...