Generating F# code

前端 未结 4 1641
春和景丽
春和景丽 2021-02-06 01:58

T4 is the \"official\" code generation engine for C#/VB.NET. But F# doesn\'t support it (this is from April, but I couldn\'t find any newer mentions). So what is a good way to g

4条回答
  •  余生分开走
    2021-02-06 02:20

    I mostly agree with Robert (though there are certainly some situations where using T4 from F# could be very useful). Anyway, maybe it would be interesting to know why do you want to generate F# code? Then we could maybe suggest some typical functional solution to the problem :-).

提交回复
热议问题