Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Functional programming library for Objective-C [closed]

Is there any functional programming library for Objective-C?

like image 219
luvieere Avatar asked Oct 15 '09 19:10

luvieere


People also ask

Is Objective C functional?

A function is a group of statements that together perform a task. Every Objective-C program has one C function, which is main(), and all of the most trivial programs can define additional functions. You can divide up your code into separate functions.

Can C be used for functional programming?

Obviously, C is a procedural language and doesn't really support functional programming natively.

What is functional programming example?

Functional programming is based on mathematical functions. Some of the popular functional programming languages include: Lisp, Python, Erlang, Haskell, Clojure, etc. Pure Functional Languages − These types of functional languages support only the functional paradigms. For example − Haskell.

Is Java a functional programming language?

Java is a functional style language and the language like Haskell is a purely functional programming language. Let's understand a few concepts in functional programming: Higher-order functions: In functional programming, functions are to be considered as first-class citizens.


1 Answers

You could try FunctionalKit

FunctionalKit is an attempt to use functional paradigms in Objective-C. It is a set of low level functional types & APIs. It contains types such as either, option, etc. that allow your to write correct, clean, tight, succinct and (where possible) typesafe code. It also provides more advanced concepts such as lifting functions into monads.

FunctionalKit

like image 98
rebo Avatar answered Nov 13 '22 03:11

rebo