Function: projectile-cabal-project-p

projectile-cabal-project-p is a byte-compiled function defined in projectile.el.

Signature

(projectile-cabal-project-p &optional DIR)

Documentation

Check if a project contains *.cabal files but no stack.yaml file.

When DIR is specified it checks DIR's project, otherwise it acts on the current project.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-cabal-project-p (&optional dir)
  "Check if a project contains *.cabal files but no stack.yaml file.
When DIR is specified it checks DIR's project, otherwise
it acts on the current project."
  (and (projectile-verify-file-wildcard "?*.cabal" dir)
       (not (projectile-verify-file "stack.yaml" dir))))