import { Print, PutString, Bind, Kind1, JsExpr, ReadLine, Seq } from '../src/stdlib' export type main = Bind< JsExpr<"Math.floor(Math.random() * 10)">, StartGuessing > interface AskForGuess extends Kind1 { return: this['input'] extends `${N}` ? Print<"Yaya"> : Print<"naaah"> } interface StartGuessing extends Kind1 { return: Bind, ReadLine]>, AskForGuess> }