Skip to content

Commit c3a44b6

Browse files
committed
Large re-organization to remove cyclic module dependency graph #381
1 parent 5e4e627 commit c3a44b6

16 files changed

+3020
-2772
lines changed

Makefile

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,42 @@ SUBST_ATAT = sed -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g;s/@GIT_VERSION@/$(GIT_VE
1010
ELFILES = \
1111
ghc-core.el \
1212
haskell-align-imports.el \
13-
haskell-c.el \
13+
haskell-bot.el \
1414
haskell-cabal.el \
15+
haskell-c.el \
1516
haskell-checkers.el \
17+
haskell-collapse.el \
18+
haskell-commands.el \
1619
haskell-compat.el \
1720
haskell-compile.el \
21+
haskell-complete-module.el \
22+
haskell-customize.el \
23+
haskell-debug.el \
1824
haskell-decl-scan.el \
1925
haskell-doc.el \
26+
haskell.el \
2027
haskell-font-lock.el \
21-
haskell-indent.el \
2228
haskell-indentation.el \
23-
haskell-collapse.el \
29+
haskell-indent.el \
2430
haskell-interactive-mode.el \
31+
haskell-load.el \
2532
haskell-menu.el \
2633
haskell-mode.el \
2734
haskell-move-nested.el \
2835
haskell-navigate-imports.el \
2936
haskell-package.el \
30-
haskell-complete-module.el \
37+
haskell-presentation-mode.el \
3138
haskell-process.el \
39+
haskell-repl.el \
3240
haskell-session.el \
3341
haskell-show.el \
3442
haskell-simple-indent.el \
3543
haskell-sort-imports.el \
36-
haskell-string.el \
3744
haskell-str.el \
45+
haskell-string.el \
3846
haskell-unicode-input-method.el \
3947
haskell-utils.el \
4048
haskell-yas.el \
41-
haskell-presentation-mode.el \
4249
inf-haskell.el
4350

4451
ELCFILES = $(ELFILES:.el=.elc)

gen-graph.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
echo "digraph {"
2+
echo "rankdir=TB;"
3+
for i in $(ls *.el | grep ^haskell)
4+
do
5+
6+
for x in $(egrep -o "^\\(require '([^)]+)" $i | sed "s/.require '//" | grep ^haskell)
7+
do
8+
z=$(echo $i | sed 's/.el$//')
9+
echo "\"$z\" -> \"$x\"; "
10+
done
11+
done
12+
echo "}"

haskell-bot.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070

7171
;;; Code:
7272

73+
(require 'comint)
74+
7375
(defgroup haskell-bot nil
7476
"Major mode for interacting with an inferior Bot session."
7577
:group 'haskell

0 commit comments

Comments
 (0)