aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-01-09 20:13:33 +0530
committerAkshay Nair <phenax5@gmail.com>2023-01-09 20:13:33 +0530
commit5aad91f273f39ba1a11143585835e757a57de234 (patch)
tree28379cc54ccb1bdd3de2a4c639d24ea5dac82dd5 /README.md
parent2af211f1bd6a5c81ee7acd2ded2bfacf4dcfb2a4 (diff)
downloadts-types-lang-5aad91f273f39ba1a11143585835e757a57de234.tar.gz
ts-types-lang-5aad91f273f39ba1a11143585835e757a57de234.zip
refactor: moves stuff around
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
```