-
Hi I'm pretty new to fp concepts but I'm starting to work on some demos with the library
I want to do something like
```
interface ICounterActions {type: "increment" | "decrement"}
const counte…
-
# fp-ts로 Typescript 함수형 프로그래밍 시작하기 10 (IO) | Minsu's Dev Log
본 포스트는 fp-ts 공식 문서의 Learning Resources에 있는 Getting Started에서 소개하는 문서들을 번역하며 학습한 문서입니다. 원본 문서는 링크에서 확인할 수 있으며 작성한 코드들은 여기에서 확인할 수 있습니다. fp-…
-
I've come across certain challenge with `Either.DO`
Here's a working example
```typescript
import * as A from 'fp-ts/Apply'
import * as E from 'fp-ts/Either'
import { pipe } from 'fp-ts/funct…
-
# fp-ts로 Typescript 함수형 프로그래밍 시작하기 5 (Category) | Minsu's Dev Log
본 포스트는 fp-ts 공식 문서의 Learning Resources에 있는 Getting Started에서 소개하는 문서들을 번역하며 학습한 문서입니다. 원본 문서는 링크에서 확인할 수 있으며 작성한 코드들은 여기에서 확인할 수 있습니다…
-
```ts
export const foo: IO = () => "hello";
// These assignments compile because the types are compatible, but the semantics are such that doing so is almost certainly an error.
export const bar:…
-
## 🐛 Bug report
Not sure if I would call this a bug; perhaps I misunderstand the purpose? My understanding is that tapError should allow me to peek at the error without affecting the result, but it s…
-
We should consider re-adding the Date module from fp-ts v2 and adding the Duration module from @effect-ts/data. Possibly in the same file. The date type is a fundamental part of js and the Duration ty…
-
## 🚀 Feature request
### Desired Behavior
I think it would be good to have a module for helpers to construct Variant types (aka ADTs / Sum types / Discriminated unions) - the dual to Records. Th…
-
We have received reports of covscan run on harfbuzz code. Below are some of the reports for which we need upstream help to analyze them and either fix it or help to know if its false positive.
1) …
-
## 🐛 Bug report
### Current Behavior
Currently the `chain` method for `getValidation` uses the `Either` instance, and this leads to conflicting semantics between `chain` and `ap`
### Expected…
lepsa updated
3 years ago