Function: haskell-align-imports-padding

haskell-align-imports-padding is a natively compiled function defined in haskell-align-imports.el.

Signature

(haskell-align-imports-padding IMPORTS)

Documentation

Find the padding for each part of the import statements.

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-align-imports.el
(defun haskell-align-imports-padding (imports)
  "Find the padding for each part of the import statements."
  (if (null imports)
      imports
    (cl-reduce (lambda (a b) (cl-mapcar #'max a b))
               (mapcar (lambda (x) (mapcar #'length (car x)))
                       imports))))