Any difference between t<'a> and 'a t in F#?

前端 未结 4 1759
挽巷
挽巷 2021-02-19 22:49

Is there any difference in meaning between t<\'a> and \'a t in F#? Can they be used interchangeably even after declaration?

4条回答
  •  面向向阳花
    2021-02-19 23:19

    No difference at all, is not sure this is worth a whole answer! I prefer the former especially when it comes to multiple type parameters (is that possible with the latter?).

提交回复
热议问题