Skip to content

Commit beaa605

Browse files
authored
Update default GHCi prompt (#32)
1 parent 03d341e commit beaa605

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/starting-out.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ <h1 style="margin-left:-3px">Starting Out</h1>
3838
Alright, let's get started! If you're the sort of horrible person who doesn't read introductions to things and you skipped it, you might want to read the last section in the introduction anyway because it explains what you need to follow this tutorial and how we're going to load functions. The first thing we're going to do is run ghc's interactive mode and call some function to get a very basic feel for Haskell. Open your terminal and type in <span class="fixed">ghci</span>. You will be greeted with something like this.
3939
</p>
4040
<pre name="code" class="haskell: ghci">
41-
GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help
42-
Prelude&gt;</pre>
41+
GHCi, version 9.2.4: https://www.haskell.org/ghc/ :? for help
42+
ghci&gt;
43+
</pre>
4344
<p>
44-
Congratulations, you're in GHCI! The prompt here is <span class="fixed">Prelude&gt;</span> but because it can get longer when you load stuff into the session, we're going to use <span class="fixed">ghci&gt;</span>. If you want to have the same prompt, just type in <span class="fixed">:set prompt "ghci&gt; "</span>.
45+
Congratulations, you're in GHCI!
4546
</p>
4647
<p>
4748
Here's some simple arithmetic.

0 commit comments

Comments
 (0)