All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gapt.formats.tptp.resolveIncludes.scala Maven / Gradle / Ivy

The newest version!
package gapt.formats.tptp

object resolveIncludes {
  def apply(tptpFile: TptpFile, resolver: String => TptpFile): TptpFile =
    TptpFile(tptpFile.inputs flatMap {
      case IncludeDirective(fileName, formulaSelection) =>
        apply(resolver(fileName), resolver).inputs
      case input => Seq(input)
    })

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy