Scala - tracking mathematical function dependent variables - Ident error -
i have query regarding scala. attempting write function tracking dependencies of mathematical function e.g f(x) = t or f(x) = x.
i have made lot of progress except final hurdle - f(x) = x case. when test runs, reaches ident case (java.universe.identextractor) , subsequently runs ns.get(i) i current tree ("x") , ns map$map1 termname f , ident "x". want ns.get(i) return some(exp) since "x" in map. however, keeps returning none.
i believe checking termname , not termname , ident. how fix this?
cannot use contains causes number of other tests fail.
Comments
Post a Comment