aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/stdio.ts
blob: 365aeadd3f8aa7854b40491f574e4f40c040eab1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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`>