假设我有一个运算符 infixl 9 @@
(@@) : Tensor [S n] t -> Tensor (S n :: tail) t -> Tensor tail t ( Tensor接受Vect如果我想指定tail,我知道可以通过将@@转换为函数(@@)来添加到a @@ b中,如下所示 (@@) {tail=[]} a b 但这在某种程度上削弱了它被插入的意义。什么是惯用法?
我注意到在Solaris ksh中支持tail +2,但是在Red Hat Linux中,会出现一个错误:tail: cannot open `+2' for reading: No such file or directorybjbldd>> ps -p 2622,16589,11719,846|tail +2
165