r/functionalprogramming • • May 12 '19

Intro to FP Monads - Part 1 - What is a Monad?

Thumbnail
youtu.be
25 Upvotes

r/functionalprogramming • • Mar 10 '19

Question What are your thoughts on design patterns and functional programming?

25 Upvotes

Hi, I'm gonna write my thesis about design pattern in functional programming. The reason I chose such topic is to explore functional programming. As I had started learning, I saw that many things, which can be described as design patterns are done with monads (different kinds). Although there are desired ways of doing something, I got an impression that there are not much categorized design patterns in functional programming. Do you have any thoughts about design pattern and functional programming? Or maybe how they relates to OOP patterns? Any sources will be much appreciated. Thanks!


r/functionalprogramming • • Feb 22 '19

Haskell Is Haskell really the language of geniuses and academia?

Thumbnail
habr.com
25 Upvotes

r/functionalprogramming • • Dec 26 '18

Haskell Advent of Haskell - Thoughts and lessons learned after using Haskell consistently for 25 days in a row

Thumbnail
medium.com
25 Upvotes

r/functionalprogramming • • Oct 23 '26

Gleam Typed FP on $2 microcontrollers with Gleam & AtomVM Body: Build IoT devices with Erlang-ecosystem languages. Davide Bettio & Giacomo Cavalieri share how on BEAM There, Done That

24 Upvotes

In this episode, Davide and Giacomo share: 
- How AtomVM squeezes the BEAM onto memory-constrained devices 
- Why Gleam and AtomVM are a perfect match for hobbyists and students 
- Davide's "scar story" of a buggy AtomVM-powered home thermostat leaving him debugging in the cold 
- The trade-offs of the AtomVM standard library and how to extend it 
- Writing Gleam bindings for AtomVM features via Erlang FFI 
- Example projects to tackle as an embedded Gleam beginner 
- What's possible with $2 boards, some sensors, and MQTT 

https://youtu.be/57Vhx7FHk34


r/functionalprogramming • • Aug 02 '24

Gleam Supercharged labels – Gleam v1.4.0

Thumbnail
gleam.run
24 Upvotes

r/functionalprogramming • • Mar 20 '23

Podcasts Eric Normand on the healthy characteristics of well-maintained software, the pros, and cons of microservices in small organizations, why teams need to ensure they know where they're going with the future of their codebase, and more.

Thumbnail
maintainable.fm
24 Upvotes

r/functionalprogramming • • Oct 11 '22

λ Calculus ELI5 Request: What are fixed point combinators?

24 Upvotes

I have been trying to understand fixed point combinators but I can't seem to wrap my head around it.

From my understanding, a combinator is a higher order function that has no free variables. I know a fixed point of a function, is a value that is mapped onto itself by the function.

Though what is a fixed point combinator? I've read many descriptions but can't get my head around it.

Any help would be appreciated!


r/functionalprogramming • • Oct 05 '21

Question In your opinion, what functional programming language is most suitable for scientific / numerical computing?

24 Upvotes

The answer must take into account both the capabilities of the language (e.g. performance, ease-of-use, efficient ffi, parallelism, GC, etc...) as well as available ecosystem (i.e. developing tools and existing numerical/scientific libraries).

So far I've explored a few like Haskell, OCaml, and various Lisps like Common Lisp and Racket. I was not a fan of Haskell and there doesn't seem to be much in the way of numerical libraries. On the other hand, I quite liked OCaml and despite the relatively small community of users, there seems to be quite a decent amount of scientific libraries for it (e.g. the excellent Owl project). I have not tried anything parallel yet with OCaml, but there seems to be a consensus that the language is not great in that regard. I was also impressed by the near-C speeds that Common Lisp can offer, but at the same time I didn't like the language that much. I found Scheme (e.g. Racket) a lot nicer to work with, but again, the ecosystem of scientific libraries is relatively poor (I think that's true for all Lisps).

I'm looking forward to reading everyone's opinion on the subject.


r/functionalprogramming • • Feb 01 '21

F# What the F#!

Thumbnail
onurgumus.github.io
24 Upvotes

r/functionalprogramming • • Jan 14 '21

OCaml ELI5: Monads and Functors

24 Upvotes

I know a Functor is a subset of a Monad, learned this from Haskell. But can somebody explain the type signatures to me? I get the idea of a box for carrying data between functions, it's not the abstract part I don't understand. It's the actual implementations that still confuse me?

I've been learning OCaml the past week and came across the chapter in the Real World Ocaml book, however I still find the lack of dumb definitions exhausting. I'm a self taught programmer with a few years of light experience in FP.

I think Rust's invariant enums have made Monad's easier to understand for me, however their definition in standard FP/ML is lacking insanely.

All the answers on StackOverflow are all mathematical definitions, just tell me what the hell is going on like an idiot. I'm tired of trying to learn CT to understand something I'll probably never use anywhere except outside of work.

Please tell me to fuck off if this has been done in a simple manor. Like I get the Monadic laws as well, I just don't understand how those types are intuitively reasoned about.


r/functionalprogramming • • Apr 06 '20

Haskell Blog: Wide Haskell - Reducing your Dependencies

Thumbnail
fosskers.ca
24 Upvotes

r/functionalprogramming • • Apr 03 '20

FP Curried Functions [Computerphile]

Thumbnail
youtu.be
24 Upvotes

r/functionalprogramming • • Dec 09 '19

FP Schönfinkelisation and Partial Application

Thumbnail
functional.christmas
24 Upvotes

r/functionalprogramming • • Jan 29 '19

Intro to FP My Functional Programming Experience

Thumbnail
eccentric-j.com
24 Upvotes