Function: haskell-mode-toggle-scc-at-point
haskell-mode-toggle-scc-at-point is an interactive and natively
compiled function defined in haskell-mode.el.
Signature
(haskell-mode-toggle-scc-at-point)
Documentation
If point is in an SCC annotation, kill the annotation.
Otherwise, try to insert a new annotation.
Key Bindings
haskell-mode-map C-c C-s
Source Code
;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-mode.el
(defun haskell-mode-toggle-scc-at-point ()
"If point is in an SCC annotation, kill the annotation.
Otherwise, try to insert a new annotation."
(interactive)
(if (not (haskell-mode-try-kill-scc-at-point))
(if (not (haskell-mode-try-insert-scc-at-point))
(error "Could not insert or remove SCC"))))