We can get even more generality by having the client code pass us a callable that looks at any line and tells us whether that line is a separator or not.

  • 进一步泛化,可以由客户传入一个可以调用的函数,由它检查每一行并决定此行是否为分隔行。
目录 查词历史