Concept:
Searching and sorting in Haskell
Headline
Lecture "Searching and sorting in Haskell" as part of Course:Lambdas in Koblenz
Details
We show how to approach the basic algorithmic problems of search and sorting in Language:Haskell. In this manner, we establish proper familiarity with basic functional programming on lists in Haskell, with the use of recursion, local scope, and polymorphism. We also encounter divide and conquer algorithms in this way. Along the way, we discuss some bits of expressiveness of the Haskell type system including support for polymorphism with type constraints, type checking, and type inference.
The discussed encodings of search and sorting do not intend to be the most efficient ones (in Haskell); instead, the intention is to demonstrate basic algorithmic problem solving in Haskell and to provide evidence for Haskell's fitness for describing algorithms declaratively and concisely.
Material
Concepts
Recap
Additions
- Binary search
- Sorting problem
- Sorting algorithm
- Insertion sort
- Divide and conquer algorithm
- Quicksort
- Selection sort
- Merge sort
- Median
- Type system
- Type signature
- Polymorphism
- Type checking
- Type inference
Languages
Features
Contributions
There are no revisions for this page.
User contributions
User edits
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.