aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index c52e304..2cf14cc 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,8 @@ Take a look at the [./examples](./examples) directory for examples on how to wri
### Example
```typescript
-import { PutString, PutStringLn, Bind, Kind1, ReadLine, Do } from 'ts-types-lang/stdlib'
+import { Bind, Kind1, Do } from 'ts-types-lang/stdlib/effect'
+import { PutString, PutStringLn, ReadLine } from 'ts-types-lang/stdlib/stdio'
// :: string -> Effect ()
interface GreetK extends Kind1<string> {
@@ -23,9 +24,9 @@ export type main = [
To run it -
```bash
-npx tsr ./examples/guess-number.ts
+npx tsr run ./examples/guess-number.ts
// OR
-yarn exec tsr ./examples/guess-number.ts
+yarn exec tsr run ./examples/guess-number.ts
```