File: Fib.hs

package info (click to toggle)
haskell-doctest-parallel 0.3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 652 kB
  • sloc: haskell: 3,241; makefile: 6; ansic: 4
file content (10 lines) | stat: -rw-r--r-- 193 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
module TestBlankline.Fib where

-- | Calculate Fibonacci number of given 'Num'.
--
-- >>> putStrLn "foo\n\nbar"
-- foo
-- <BLANKLINE>
-- bar
fib :: (Num t, Num t1) => t -> t1
fib _ = undefined