From 5aad91f273f39ba1a11143585835e757a57de234 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 9 Jan 2023 20:13:33 +0530 Subject: refactor: moves stuff around --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') 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 { @@ -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 ``` -- cgit v1.3.1