Skip to content

Commit

Permalink
Merge pull request #2 from themattchan/master
Browse files Browse the repository at this point in the history
... missed one
  • Loading branch information
ranjitjhala authored Sep 24, 2016
2 parents 8420af5 + 97a8262 commit eece72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lectures/02-haskell.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ vs
```haskell
sort :: (Ord a) => [a] -> [a]
sort [] = []
sort (h:t) = sort ls @ [h] @ sort rs
sort (h:t) = sort ls ++ [h] ++ sort rs
where
(ls,rs) = partition (\x -> x < h) t
```
Expand Down

0 comments on commit eece72b

Please sign in to comment.