diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-09 20:13:33 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-09 20:13:33 +0530 |
| commit | 5aad91f273f39ba1a11143585835e757a57de234 (patch) | |
| tree | 28379cc54ccb1bdd3de2a4c639d24ea5dac82dd5 /README.md | |
| parent | 2af211f1bd6a5c81ee7acd2ded2bfacf4dcfb2a4 (diff) | |
| download | ts-types-lang-5aad91f273f39ba1a11143585835e757a57de234.tar.gz ts-types-lang-5aad91f273f39ba1a11143585835e757a57de234.zip | |
refactor: moves stuff around
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 ``` |
