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

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

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