Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Examples in various locations...
Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text.
>>>
let x = 10
Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text.
>>>
baz
"foobar"
Documentation
Some documentation not attached to a particular Haskell entity
>>>
test 10
*** Exception: Prelude.undefined ...
>>>
fib 10
55
Example:
>>>
fib 5
5
Note that examples for fib
include the two examples below
and the one example with ^ syntax after fix
>>>
foo
"foo"
Example:
>>>
fib 10
55
Calculate Fibonacci number of given n
.
>>>
bar
"bar"