Skip to content

Commit

Permalink
Merge pull request #2055 from jfdm/doc/missing-example
Browse files Browse the repository at this point in the history
Added missing example.
  • Loading branch information
edwinb committed Mar 24, 2015
2 parents 628ddcb + c227094 commit faa95c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tutorial/starting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ To check that installation has succeeded, and to write your first
Idris program, create a file called “``hello.idr``” containing the
following text:

.. code-block:: idris
module Main
main : IO ()
main = putStrLn "Hello world"
If you are familiar with Haskell, it should be fairly clear what the
program is doing and how it works, but if not, we will explain the
details later. You can compile the program to an executable by
Expand Down

0 comments on commit faa95c0

Please sign in to comment.