From 2a0815eeb378b0140ef2885514715fb00db7a11e Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 7 Jan 2023 00:53:23 +0530 Subject: refactor: moves stdlib around + package stuff --- stdlib/stdio.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 stdlib/stdio.ts (limited to 'stdlib/stdio.ts') 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 { } + +export interface ReadLine extends Effect { } + +export type PutStringLn = PutString<`${S}\n`> + -- cgit v1.3.1