Difference between revisions of "FP Laboratory 1"

From Marek Běhálek Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
== Topic ==
 
== Topic ==
  
<syntaxhighlight lang="Haskell" >
+
<syntaxhighlight lang="Haskell" style="background-color: black;" >
 
ghci> 2 + 15   
 
ghci> 2 + 15   
 
17   
 
17   

Revision as of 11:10, 12 August 2019

Topic

ghci> 2 + 15  
17  
ghci> 49 * 100  
4900  
ghci> 1892 - 1472  
420  
ghci> 5 / 2  
2.5  
ghci>