Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #14 from idkjs/patch-2

Second Example Syntax fix

authored by

Phil Plückthun and committed by
GitHub
6ab3c721 d260da05

+3 -3
+3 -3
README.md
··· 91 91 ```reason 92 92 WonkaJs.interval(50) 93 93 |> Wonka.take(7) 94 - |> Wonka.filter(x => x mod 2 === 0) 95 - |> Wonka.map(x => x * 2) 96 - |> Wonka.forEach(x => print_endline(string_of_int(x))); 94 + |> Wonka.filter((.x) => x mod 2 === 0) 95 + |> Wonka.map((.x) => x * 2) 96 + |> Wonka.forEach((.x) => print_endline(string_of_int(x))); 97 97 98 98 /* prints: 4, 8, 12 */ 99 99 ```