Difference between revisions of "FP Laboratory 1"

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

Revision as of 11:25, 12 August 2019

Topic

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