2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/documents/Programmierparadigmen/scripts/haskell/compile-binom.sh

13 lines
374 B
Bash
Raw Normal View History

2014-02-01 15:32:13 +01:00
$ ghci binomialkoeffizient.hs
2014-02-02 13:49:19 +01:00
GHCi, version 7.4.2:
http://www.haskell.org/ghc/
:? for help
2014-02-01 15:32:13 +01:00
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
2014-02-02 13:49:19 +01:00
[1 of 1] Compiling Main
( binomialkoeffizient.hs, interpreted )
2014-02-01 15:32:13 +01:00
Ok, modules loaded: Main.
*Main> binom 5 2
10