1840 in Macau
![]() ![]() |
1838 • 1839 • 1840 • 1841 • 1842 |
Decades:
1830s • 1840s • 1850s |
See also: History of Macau |
Events from the year 1840 in Portuguese Macau.
Incumbents
Events
April
- 19 August - The Battle of the Barrier.
gollark: Real programmers use osmarkslisp™.
gollark: ```lisp (let (qsort xs cont) (cond ((= xs '()) (cont '())) (true (do (let h (head xs)) (let t (tail xs)) (let part_result (partition_rec t (lambda (x) (< x h)) '(() ()))) (qsort (head part_result) (lambda (ls) (qsort (snd part_result) (lambda (rs) (cont (+ ls (list h) rs)))))) )) ))```↑ provably optimal sorting algorithm
gollark: Well, in Haskell you would just use the highly efficient quicksort from somewhere.
gollark: Carbohydrates?
gollark: Oh no. I forgot how merge sort works. Oh apioid.
References
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.