Skip to content

Commit 1baff94

Browse files
added docstrings for some functions
1 parent 0d51e58 commit 1baff94

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

haskell-doc.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,9 +1849,11 @@ This function switches to and potentially loads many buffers."
18491849
doc ))))
18501850

18511851
(defun inferior-haskell-kind (sym)
1852+
"Find the kind of SYM with `:kind' ghci feature."
18521853
(inferior-haskell-get-result (format ":kind %s" sym)))
18531854

18541855
(defun inferior-haskell-type (sym)
1856+
"Find the type of SYM with `:type' ghci feature."
18551857
(inferior-haskell-get-result (format ":type (%s)" sym)))
18561858

18571859
(provide 'haskell-doc)

inf-haskell.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ setting up the inferior-haskell buffer."
241241
(haskell-string-chomp (car inferior-haskell-result-history))))
242242

243243
(defun inferior-haskell-init ()
244+
"The first thing run while initalizing inferior-haskell-buffer"
244245
(with-local-quit
245246
(with-current-buffer inferior-haskell-buffer
246247
(process-send-string (inferior-haskell-process) "\n")

0 commit comments

Comments
 (0)