Skip to content
#

higher-order-functions

Here are 74 public repositories matching this topic...

In this article I try to explain why Haskell keeps being such an important language by presenting some of its most important and distinguishing features and detailing them with working code examples. The presentation aims to be self-contained and does not require any previous knowledge of the language.

  • Updated Apr 30, 2020
  • Haskell
mtso
mtso commented Oct 22, 2017

In the language of your choice, write an example of:

add(1)(2) // A function that returns a function value.
each([1, 2, 3], print) // A function that takes a function parameter.

Add [language name].[language extension] source file to the root.

For example:

// javascript.js

function add(x) {
  return function(y) { return x + y }
}

function each(list, callback) {

Understanding concepts of functional languages ​​(ADT's, type classes, functors, monads, ...) by looking at how they are implemented. The source language is PureScript which compiles to JavaScript. The paper was written in German during a semester university project. Maybe it helps anyone on his road to functional programming as well.

  • Updated Jul 26, 2018
  • TeX

Improve this page

Add a description, image, and links to the higher-order-functions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the higher-order-functions topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.