Difference between revisions of "FP Laboratory 6"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | == | + | == Operators == |
| − | + | *Define following functions that performs corresponding logic operations: <code>not', and', or', nand', xor', impl', equ'</code> | |
| − | + | *Define the 'standard' priority for all these functions, if they are used as operators. | |
| − | + | *Create a function that print | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | * | ||
| − | |||
| − | |||
| − | |||
| − | |||
<syntaxhighlight lang="Haskell">zoom :: Int -> Pic -> Pic</syntaxhighlight> | <syntaxhighlight lang="Haskell">zoom :: Int -> Pic -> Pic</syntaxhighlight> | ||
Revision as of 15:22, 17 September 2019
Operators
- Define following functions that performs corresponding logic operations:
not', and', or', nand', xor', impl', equ' - Define the 'standard' priority for all these functions, if they are used as operators.
- Create a function that print
zoom :: Int -> Pic -> Pic