Bookmarks tagged with #functional-programming.
Show all
Show all
Functors to Monads: A Story of Shapes · in Code
For many years now I’ve been using a mental model and intuition that has guided me well for understanding and teaching and using functors, applicatives, monads, and other related Haskell abstractions, as well as for approaching learning new ones. Sometimes when teaching Haskell I talk about this concept and assume everyone already has heard it, but I realize that it’s something universal yet easy to miss depending on how you’re learning it. So, here it is: how I understand the Functor and other related abstractions and free constructions in Haskell. The crux is this: instead of thinking about what fmap changes, ask: what does fmap keep constant? This isn’t a rigorous understanding and isn’t going to explain every aspect about every Functor, and will probably only be useful if you already know a little bit about Functors in Haskell. But it’s a nice intuition trick that has yet to majorly mislead me.
Saved
on: 2024-11-12
What's Functional Programming All About?
Saved
on: 2024-09-04
Strategies to make functions pure
Saved
on: 2023-05-09
Value-Oriented Programming
The research Val programming language uses value-oriented programming. Lucian Radu Teodorescu explores this paradigm.
Saved
on: 2023-02-08
Functorio
You might have heard people say that functional programming is more academic, and real engineering is done in imperative style. I’m going to show you that real engineering is functional, and …
Tags:
#functional-programming
Saved
on: 2021-02-16
MIT 18.S097: Programming with Categories
In this course we explain how category theory—a branch of mathematics known for its ability to organize the key abstractions that structure much of the mathematical universe—has become useful for writing elegant and maintainable code. In particular, we'll use examples from the Haskell programming language to motivate category-theoretic constructs, and then explain these constructs from a more abstract and inclusive viewpoint. Hands-on programming exercises will be used to demonstrate categorical ideas like 'the universal property of products' in working Haskell code.
Saved
on: 2020-09-03
DEV Community
A space to discuss and keep up software development and manage your software career
Saved
on: 2019-01-17
How to deal with dirty side effects in your pure functional JavaScript
If you start learning about functional programming, it won’t be long before you come across the idea of pure functions. And as you go on, you will discover functional programmers appear to be obsessed with them. “Pure functions let you reason about your code,” they say. “Pure functions are less likely to start a thermonuclear war.” “Pure functions giveyou referential transparency”. On and on it goes. And they have a point. Pure functions are a good thing. But what do you do with the impure bits of your code?
Saved
on: 2018-08-14
Conversations with a six-year-old on functional programming
My six-year-old son walked up to me yesterday. “What are you reading?” At the time, I was reading part of Janis Voigtländer’s habilitation thesis. Unsure where to even start, I decided to just ans…
Tags:
#functional-programming
Saved
on: 2018-05-08
A practical introduction to functional programming
Many functional programming articles teach abstract functional techniques. That is, composition, pipelining, higher order functions. This one is different. I...
Saved
on: 2016-12-25
Functional Programming in Javascript
Saved
on: 2016-07-19
Russ Bishop - Functors, Applicatives, and Monads in Plain English
Functors, Applicatives, and Monads in Plain English - This is a no-bullshit zone
Saved
on: 2016-04-23
Immutability is not enough
Saved
on: 2016-03-31
pramda/README.md at master · kapolos/pramda
Practical Functional Programming in PHP
Saved
on: 2016-01-02
funct/README.md at master · phpfunct/funct
A PHP library with commonly used code blocks
Saved
on: 2015-12-04
DrBoolean/mostly-adequate-guide · GitHub
Mostly adequate guide to FP (in javascript)
Saved
on: 2015-07-14
jkoudys/immutable.php: Immutable collections, with filter, map, join, sort, slice, and other methods. Well-suited for functional programming and memory-intensive applications. Runs especially fast in PHP7.
Immutable collections, with filter, map, join, sort, slice, and other methods. Well-suited for functional programming and memory-intensive applications. Runs especially fast in PHP7. - jkoudys/immu...
Saved
on: 2015-07-14
http://haskell.cs.yale.edu/?post_type=publication&p=112
Saved
on: 2015-05-05
An introduction to functional programming
Saved
on: 2015-03-31
php-functional/README.md at master · widmogrod/php-functional
Functors, Applicative Functors and Monads in PHP
Saved
on: 2015-03-20
Monads in Chains - Ivan Cukic - Meeting C++ 2014
Ivan Cukic - Monads in ChainsMeeting C++ 2014Slides: http://meetingcpp.com/index.php/tv14/items/22.html
Saved
on: 2015-01-01
The Two Pillars of JavaScript - JavaScript Scene - Medium
Before we get into this, allow me to introduce myself — you’re probably going to wonder who I think I am before this is over. I’m Eric Elliott, author of “Programming JavaScript Applications”…
Saved
on: 2014-12-13
Functional Programming in Javascript
Saved
on: 2014-10-18
Programming without objects - falkoriemenschneider.de
Saved
on: 2014-09-19
Favoring Curry
Update: It's nearly five years since this post was written. Although much of the
code will still work, some parts are now broken. (At the moment, you'd have to
replace partition with groupBy and replace use(...).over(...) with
useWith(..., [...]).) . I'm not going to try to keep updating this code since
there are plenty of places online now to learn the basics of Ramda. This post
still reflects much of the rationale for Ramda, and much of the code is still
all right, but caveat emptor.
---
Saved
on: 2014-06-19