import * as fun from "https://deno.land/x/fun@v2.0.0/examples/freer.ts"; FunctionsfapfchainfetaffgetffnoneffputffsomefgetfimpurefisPurefjoinflogOptionfmapfnonefoffpurefputfrunOptionfrunStatefsomeInterfacesIKindIKindOptionIKindStateType AliasesT$TFOptionTFreerTFStateDefine State in terms of Freer TImpureTNoneDefine Option in terms of Freer TOptionTPureTSomeTStateFirst, defint state for testing. TSubstituteTSubstitutions