F#関連についてゆるふわ会話する場所です。初心者の質問も歓迎。
ガブさん!いつもありがとうございます(^_^)/
int
string
ブレイスさん!なるほどです。順番が重要なんですね!(^_^)/
@pocketberserker 完全に思いつきなんだけど、
type IAsync<'T> = interface end type AZero () = interface IAsync type Wrap<'T>(x: Async<'T>) = interface IAsync<'T>
みたいな型階層用意して、ZeroではAZero返して、RunではWrap<'T>しか受け取らない、とかやって型合わせられないですかね
Zero
AZero
Run
Wrap<'T>
it cond then ce
if then else
type FromZero = class end type FromReturn = class end type A<'T, 'Tag>(x: Async<'T>) = ...
A<'T, FromReturn>
type Zero = class end
Async<Zero>
Run(f: unit -> Async<Zero>)
Obsolete
Unchecked.defaultof
"/Users/kohei/Documents/myProgramming/myFSharp/mystudy/programmingF#/hello.fsx" "hello.fsx"
System.IO.Path
ガブさん!ありがとうございます!さっそくやってみます!