我注意到在Solaris ksh中支持tail +2,但是在Red Hat Linux中,会出现一个错误:tailcannot open `+2' for reading: No such file or directorybjbldd>> ps -p 2622,16589,11719,846 |tail但我想知道Linuxta
length of main list match inp with | head::tailnestedApply f (x::acc) tail这让我怀疑在这个上下文中使用yield!,或者在一般情况下使用列表理解,是否是尾递归的。我尝试过使用List.collect (推荐问题中有一个已推出的想法),但我没有完全做到这一点。