@@ -64,7 +64,6 @@ interpreter (e.g. GHCi).
64
64
* Inferior Haskell interpreter :: How to interact with GHCi (1)
65
65
* Interactive Haskell :: How to interact with GHCi (2)
66
66
* Editing Cabal files :: Cabal support
67
- * Changing REPL target :: Start REPL with selected target (i.e. test,bench,etc.)
68
67
* Browsing Haddocks :: Using @code {w3m } to browse documentation
69
68
* Spell checking strings and comments :: Using @code {flyspell-prog-mode }
70
69
* Aligning code :: Aligning code using @code {align-regexp }
@@ -1367,6 +1366,34 @@ you will be presented with the prompt:
1367
1366
λ>
1368
1367
@end example
1369
1368
1369
+ @subsection Changing REPL target
1370
+
1371
+ @findex haskell-session-change-target
1372
+ @vindex haskell-interactive-mode-hook
1373
+
1374
+ With @code {haskell-session-change-target } you can change the target for
1375
+ REPL session.
1376
+
1377
+
1378
+ After REPL session started, in @code {haskell-interactive-mode } buffer invoke the
1379
+ @code {haskell-session-change-target } and select from available targets for
1380
+
1381
+ @cindex testing
1382
+ - Testing
1383
+
1384
+ @cindex benchmarking
1385
+ - Benchmark
1386
+
1387
+ - Executable
1388
+
1389
+ - Library
1390
+
1391
+ Answer ``yes'' to restart the session and run your tests, benchmarks, executables.
1392
+
1393
+
1394
+ TODO/WRITEME
1395
+
1396
+
1370
1397
@subsection Bringing the REPL
1371
1398
1372
1399
If you don't know where the REPL buffer is, you can always bring it
@@ -1949,34 +1976,6 @@ with a prefix argument (i.e. @kbd{C-u}) @code{find-file-other-window} is
1949
1976
used to visit the @file {.cabal } file.
1950
1977
@code {haskell-cabal-visit-file } is bound to the key sequence @kbd {C-c v c }.
1951
1978
1952
- TODO/WRITEME
1953
-
1954
- @node Changing REPL target
1955
- @chapter Changing REPL target
1956
-
1957
- @findex haskell-session-change-target
1958
- @vindex haskell-interactive-mode-hook
1959
-
1960
- With @code {haskell-session-change-target } you can change the target for
1961
- REPL session.
1962
-
1963
-
1964
- After REPL session started, in @code {haskell-interactive-mode } buffer invoke the
1965
- @code {haskell-session-change-target } and select from available targets for
1966
-
1967
- @cindex testing
1968
- - Testing
1969
-
1970
- @cindex benchmarking
1971
- - Benchmark
1972
-
1973
- - Executable
1974
-
1975
- - Library
1976
-
1977
- Answer ``yes'' to restart the session and run your tests, benchmarks, executables.
1978
-
1979
-
1980
1979
TODO/WRITEME
1981
1980
1982
1981
@node Browsing Haddocks
0 commit comments