Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
PROGRAMMING IN HASKELL The > prompt means that the system is ready to
 

Summary: 1
PROGRAMMING IN HASKELL
0
The > prompt means that the system is ready to
evaluate an expression.
For example:For example:
> 2+3*4
14
> (2+3)*4
1
20
> sqrt (3^2 + 4^2)
5.0
2
The Standard Prelude
The library file Prelude.hs provides a large number
of standard functions. In addition to the familiar
numeric functions such as + and *, the library also
provides many useful functions on lists.
T Because of the predefinitions, GHCi may complain

  

Source: Allan, Vicki H. - Department of Computer Science, Utah State University

 

Collections: Computer Technologies and Information Sciences