Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/starting-out.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ <h1 style="margin-left:-3px">Starting Out</h1>
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.
</p>
<pre name="code" class="haskell: ghci">
GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help
Prelude&gt;</pre>
GHCi, version 9.2.4: https://www.haskell.org/ghc/ :? for help
ghci&gt;
</pre>
<p>
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>.
Congratulations, you're in GHCI!
</p>
<p>
Here's some simple arithmetic.
Expand Down