aboutsummaryrefslogtreecommitdiff
path: root/examples/file.ts
blob: 3de26d345799dfe448f3664d08a59b5050232cfa (plain) (blame)
1
2
3
4
5
6
7
8
9
import { Bind, Kind1, ReadFile, PutStringLn } from '../src/stdlib'

interface PrintK extends Kind1<string> {
  return: PutStringLn<this['input']>
}

export type main = [
  Bind<ReadFile<"./default.nix">, PrintK>,
]