-
-
Notifications
You must be signed in to change notification settings - Fork 510
Closed
Labels
Description
Often when editing code using fp-ts, vscode go crazy on CPU during several seconds.
This is a reduced case, it can last way longer with more involved code.
Minimal repro repo:
https://github.com/sledorze/vscode-hanging
Main code showing the issue :
import {
Validation
} from 'fp-ts/lib/Validation';import {
array,
validation,
} from 'fp-ts';export function pouet(
xs: number[],
f: (x: number) => Validation<string[], number>
): void {
array.traverse(validation. .getApplicativeS(array))(f, xs); // Long hanging due to this space!
}