/fpt/ - Functional Programming Thread

Resources:
>Erlang
learnyousomeerlang.com/content
>>Elixir
chimera.labs.oreilly.com/books/1234000001642/index.html
elixir-lang.org/learning.html
>F#
fsharp.org/learn
>Haskell
en.wikibooks.org/wiki/Haskell
0x0.st/pbp.pdf
>Lisps
>>Common Lisp
gigamonkeys.com/book
cs.cmu.edu/~dst/LispBook/book.pdf
Paul Graham's ANSI Common Lisp
On Lisp
Common Lisp Recipes
Land of Lisp
>>Clojure
braveclojure.com/foreword/
The joy of Clojure
>>Scheme
Little Schemer
The Seasoned Schemer
The Scheme Programming Language by Kent Dybvig
Realm of Racket
Lisp in Small Pieces
>OCaml
realworldocaml.org/
ocaml.org/learn/tutorials/
>Scala
Functional Programming in Scala (Chiusano and Bjarnason)
Atomic Scala (Eckel and Marsh)
Programming Scala (Wampler and Payne)
Programming in Scala (Odersky, Spoon and Venners)
>Web languages
>>Elm
guide.elm-lang.org/
>>PureScript
purescript.org/learn/

>Theory
SICP
Essentials of Programming Languages
Practical Foundations for Programming Languages: cs.cmu.edu/~rwh/pfpl.html
How to Design Programs: ccs.neu.edu/home/matthias/HtDP2e/
Art of the Propagator
An Introduction to Functional Programming Through Lambda Calculus
Y-combinators: mvanier.livejournal.com/2897.html
Purely Functional Data Structures (Chris Okasaki)

Attached: 1497742841053.png (1000x1300, 786K)

Other urls found in this thread:

dp.iit.bme.hu/mfp/mfp03s/intro2fp.pdf
0x0.st/pbp.pdf
twitter.com/NSFWRedditVideo

First for OOP

I still have the functional programming humble bundle as a tarball if somebody knows a good user filehost

Attached: mr_wea.jpg (640x620, 39K)

How big is the tarball?

I appreciate the resources OP, what interesting projects can I build with functional languages? I know some Haskell and Scheme, but I haven't done anything outside solving redundant programming puzzles

Attached: 17076539_736594086499234_1566602987801935872_n.jpg (480x480, 35K)

>How big is the tarball?
not too big looks like:
284M Feb 13 10:39 functional_programming.tar.gz

Professional OCaml developer here

Now that I know Erlang and otp, should I start with Clojure, or something else? Is it even useful?

I got into OCaml when I was looking at MirageOS. It's sorta like a funky haskell, I like it. At first the inline explicit typing was a bit unsightly, but I actually would prefer it these days and carried some of those conventions over to other languages I use.

The real benefit of functional programming is knowing it, not so much using it.
Good resources, OP.

>inline explicit typing
What?

simplest example would just be float operations or float numbers, 4.0 /. 2.0

Ha that. It's one of the best feature of OCaml. I miss it in every other language.

IMO OCaml look like more practical language, because it doesn't look like it requires much boilerplate code to get mutable state unlike Haskell does.

Yes, OCaml never forbid a paradigm. There is even an object layer that nobody use, but it's there.

Bumping question about good filehosting

I think the only downside is it's ridden with what i'll call "frenchness". Other than that, the language is certainly robust

if nobody has anything I might have a throw away domain name i could put onto an s3 bucket or something for a bit.

>frenchness
Like what?

more just a joke about the community from my anecdotal experience. Most of the people I speak to about it are from France for some reason

>Most of the people I speak to about it are from France for some reason
Because we know how to recognize a good product.

OCaml was made by baguettes, so it's a major thing in French academia.

I'll admit I wish our food domain laws were as nice as yours. The French seem to have bacchanalian-ism well protected from junk products

French academia were strong, can't see this as something bad.

>were
were not is. You use the correct word.

Interesting source:
dp.iit.bme.hu/mfp/mfp03s/intro2fp.pdf

redpill me on f# pls
me c# fag

You get all the power of ML-like (like OCaml) language atop of CLR.
I guess it's the best bet to start your voyage on functional paradigm for a .NET developer.

>0x0.st/pbp.pdf
Doesn't work

Create a torrent file?

c# is oop with a bit fp, while f# is fp with a bit oop. why should i use f# instead of c#? what f# can do, but c# can't do?

you shouldn't because f# is useless

i have an online friend in fb, he is f# mvp. he keeps posting stuff like:
yo i wrote a book about f#
yo my next f# book is ...
yo i get my f# mvp this year
yo f# ...
while i don't see any f# job vacancies in my country. so i wonder why i should take that f# pill.

This might be a stupid question, but why isn't JavaScript listed in the resources?
Is it not a functional programming language, and/or best used in a functional manner?

Attached: d76.jpg (968x648, 228K)

It isn't generally used as a functional language and it's not good for that, because JavaScript has only recently started to guarantee tail call optimization and in fact most browsers still haven't implemented that.

Spilt it and upload it to 0x0.st

Become a C# architect and introduce F# to your architecture

State F# community, Microsoft say begin less 10,000 F# developers in whole world agains millons C# developers , M.S use F# as test bed for next C# version, F# begin treat as second class language by M.S but community believe F# begins next big thing.

F# is really simple and elegant and MS really nailed it getting into the functional world.
C# will still be the .net flagship though. but keep in mind F# and C# have their different purposes.

>but keep in mind F# and C# have their different purposes.
Just like Scala and Java lol

up