1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

Type applications.

This commit is contained in:
Rob Rix 2019-10-23 11:36:59 -04:00
parent 97a31acc7a
commit 2dffafa12f
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -58,8 +58,8 @@ callGraphProject' session proxy parser path = fmap (first show) . runTask sessio
callGraphProject proxy parser paths = withOptions defaultOptions $ \ config logger statter ->
callGraphProject' (TaskSession config "" False logger statter) proxy parser paths
evalRubyProject = justEvaluating <=< evaluateProject (Proxy :: Proxy 'Language.Ruby) rubyParser
evalPythonProject = justEvaluating <=< evaluateProject (Proxy :: Proxy 'Language.Python) pythonParser
evalRubyProject = justEvaluating <=< evaluateProject (Proxy @'Language.Ruby) rubyParser
evalPythonProject = justEvaluating <=< evaluateProject (Proxy @'Language.Python) pythonParser
evaluateProject proxy parser path = withOptions defaultOptions $ \ config logger statter ->
evaluateProject' (TaskSession config "" False logger statter) proxy parser [Path.toString path]