Template:Haskell/GHCi
Appearance
{{{1}}}
Template documentation
This template is used for GHCi transcripts in Haskell books.
Example:
{{Haskell/GHCi|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.