Skip to content

Instantly share code, notes, and snippets.

View lucch's full-sized avatar

Alexandre Lucchesi lucch

  • odeko.com
  • New York, NY
View GitHub Profile
<!-- default.tpl -->
<!DOCTYPE html>
<html lang="pt-br">
<!-- Cabeçalho -->
<apply template="_head">
<apply-content />
</apply>
<body>
<!-- Navegação -->
@lucch
lucch / quicksort.hs
Created March 1, 2018 20:03
Quicksort in two Haskell lines
quicksort [] = []
quicksort (x:xs) =
quicksort [y | y <- xs, y <= x] ++ [x] ++ quicksort [z | z <- xs, z > x]