Skip to content

Commit 69edfaa

Browse files
feat: add library-effects.md intro and summary table (#303)
1 parent eb43777 commit 69edfaa

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/library-effects.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# Library Effects
22

3+
Flix provides several built-in library effects for common I/O operations. These
4+
effects all have default handlers, so no explicit `runWithIO` is needed in
5+
`main`.
6+
7+
| Effect | Module | Description |
8+
|---------------------------------|---------------------------|--------------------------------------------------------------------------------------------------|
9+
| [Assert](./assert.md) | `Assert` | Runtime assertions (`assertTrue`, `assertEq`, etc.) with configurable handlers. |
10+
| [Console](./console.md) | `Sys.Console` | Terminal I/O: reading input, printing to stdout/stderr, prompts, and menus. |
11+
| [Http / Https](./http-https.md) | `Net.Http`, `Net.Https` | Sending HTTP requests with a fluent API, middleware (retries, rate limiting, circuit breakers). |
12+
| [Process](./process.md) | `Sys.Process` | Spawning and managing OS processes. |

0 commit comments

Comments
 (0)