Template:HaskellGHCi

      {{{1}}}
      
      Template documentation

      This template is used for GHCi transcripts in Haskell books.

      Example:

      {{HaskellGHCi|1=
      Prelude> let f a b = a * b
      Prelude> f 3 5
      15
      Prelude> 
      }}
      

      Is rendered as:

      Prelude> let f a b = a * b
      Prelude> f 3 5
      15
      Prelude>
      

      The |1= is necessary as the text may contain equal signs. Otherwise just {{{1}}} would get displayed.

      Last modified on 3 July 2010, at 12:13