Difference between revisions of "Functional programming"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
As the expressions above imply, Haskell has a notion of integers | As the expressions above imply, Haskell has a notion of integers | ||
and floating point numbers. Integers can be arbitrarily large. | and floating point numbers. Integers can be arbitrarily large. | ||
− | Here, ~(^)~ provides integer exponentiation. | + | Here, ~(^)~ provides integer exponentiation. {{int:Functional_programming}} |
<!--T:2--> | <!--T:2--> |
Revision as of 12:06, 7 August 2019
Functional Programming
As the expressions above imply, Haskell has a notion of integers and floating point numbers. Integers can be arbitrarily large. Here, ~(^)~ provides integer exponentiation. ⧼Functional_programming⧽
ghci> 313 ^ 15 27112218957718876716220410905036741257
def quickSort(arr):
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass