Package hydra

Class Reduction


  • public class Reduction
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Flow<Graph,​Term> reduce​(boolean eager, Term term)  
      static Term replaceFreeName​(Name toReplace, Term replacement, Term body)
      Replace occurrences of a free variable (name) in a term with a given term.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • replaceFreeName

        public static Term replaceFreeName​(Name toReplace,
                                           Term replacement,
                                           Term body)
        Replace occurrences of a free variable (name) in a term with a given term.