aboutsummaryrefslogtreecommitdiff
path: root/stdlib/stdio.ts
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/stdio.ts')
-rw-r--r--stdlib/stdio.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/stdlib/stdio.ts b/stdlib/stdio.ts
new file mode 100644
index 0000000..365aead
--- /dev/null
+++ b/stdlib/stdio.ts
@@ -0,0 +1,12 @@
+import { Effect } from './io'
+
+export interface PutString<_ extends string> extends Effect { }
+
+export interface Print<_ extends any> extends Effect { }
+
+export interface Debug<_ extends string, T> extends Effect<T> { }
+
+export interface ReadLine extends Effect<string> { }
+
+export type PutStringLn<S extends string> = PutString<`${S}\n`>
+