[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/fpg/ Functional Programming General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 21
Thread images: 4

Functional programming

Resources:
>Erlang
http://learnyousomeerlang.com/content
>>Elixir
http://chimera.labs.oreilly.com/books/1234000001642/index.html
http://elixir-lang.org/learning.html
>F#
http://fsharp.org/learn
>Haskell
https://en.wikibooks.org/wiki/Haskell
https://0x0.st/pbp.pdf
>Lisps
>>Common Lisp
http://gigamonkeys.com/book
http://www.cs.cmu.edu/~dst/LispBook/book.pdf
Paul Graham's ANSI Common Lisp
On Lisp
Common Lisp Recipes
Land of Lisp
>>Clojure
http://www.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
https://realworldocaml.org/
http://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
https://guide.elm-lang.org/
>>PureScript
http://www.purescript.org/learn/

>Theory
SICP
Essentials of Programming Languages
Practical Foundations for Programming Languages: http://www.cs.cmu.edu/~rwh/pfpl.html
How to Design Programs: http://www.ccs.neu.edu/home/matthias/HtDP2e/
Art of the Propagator
An Introduction to Functional Programming Through Lambda Calculus
>>
first
>>
>>59498330
post a haskell crash course for me. I only know normal programming

>protip you cant
>>
>>59498526
http://yannesposito.com/Scratch/en/blog/Haskell-the-Hard-Way/
>>
>>59498330
it's fp thread, not general
>>
>>59498680
kys yourself
>>
>>59498721
it was always /fpt/ from the first days
>>
op here my bad
>>
>>59498776
are you going to fix it?
>>
>tfw no decent scheme or racket WM
>>
>>59498863
it's just gonna 404 anyway whatever
>>
Is JavaScript functional programming?

If you program it properly literally everything is encapsulated by an anonymouse function
>>
File: 1489547663335.jpg (150KB, 800x800px) Image search: [Google]
1489547663335.jpg
150KB, 800x800px
https://www.youtube.com/watch?v=RqFgtYrw4J8#t=11m40s
>>
Is a closure just a function that returns a lambda?
>>
>>59498330
>SICP
Fun fact: This exists in info format: http://www.neilvandyke.org/sicp-texi/
>>
>>59500224
Almost. A closure is when the function that gets returned can reference things inside of the function that created it.
>>
>>59500358

Ah I see. So the returned function has its own sort of embedded scope.
>>
>>59500376
Yep! It's a way of having a function own some bit of data it can use before actually calling it.

>>59500135
It's mixed paradigm. But you can't program in it in a super-functional way if you want to be reasonably efficient.

A good idea is to make the small-scale functional, and the large scale OO. Particularly with ES6.

Going full imperative OO means you have a nightmarish number of moving parts, and functional everything is very hard to organize and slow because JavaScript doesn't yet have things to deal with that. (Though, I like to think it might happen eventually)
>>
>>59500335
>info
>>
>>59500631
Ebooks in Emacs.
Nobody likes them, but they are kind of nice sometimes.

I also have one for the Common Lisp Hyperspec that lets me jump to definitions for functions and macros under my cursor in source files.
>>
functional programming is gay
Thread posts: 21
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.