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

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

export type main = Bind<ReadFile<'./default.nix'>, PrintK>