philip_schwarz, to programming
@philip_schwarz@fosstodon.org avatar

just uploaded to https://fpilluminated.com 🚀🆕 : "A Sighting of filterA in Typelevel Rite of Passage" - based on a short extract from Rock the JVM's great video course #scala #cats #fp #functionalprogramming

direct link: https://fpilluminated.com/deck/220

alexelcu, to programming
@alexelcu@social.alexn.org avatar
jnpn, to random
@jnpn@mastodon.social avatar
vascorsd, to haskell
@vascorsd@mastodon.social avatar
lovelylovely, to random
@lovelylovely@masto.ai avatar

Friends I have absolutely had enough of the far-left Pro-Gaza Protesters that is masquerading as pro-Palestinians activist who continue to follow the of the United States across the country just to scream lie disrespect and attack his character and encouraging voters not to vote, HOW DARE YOU" My family here in the US are Even more important then the narrative you're selling about the Palestinian ppl when it's just a movement to hurt Biden and elect Trump. these groups are frauds

jbzfn, to FunctionalProgramming
@jbzfn@mastodon.social avatar

🤝 Ending the war or continuing it? Let's bring functional programming to OOP codebases | Cherry Ramatis

https://dev.to/cherryramatis/ending-the-war-or-continuing-it-lets-bring-functional-programming-to-oop-codebases-3mhd

#fp #oop #functionalprogramming

worldsendless, to FunctionalProgramming
@worldsendless@qoto.org avatar

I'm looking for recent books or up-to-date text on #FunctionalProgramming with PHP. #PHP is changing rapidly and all the books I see are nearly a decade old. Any good recommendations? #FP

alexelcu, to programming
@alexelcu@social.alexn.org avatar

The series of articles titled “My Scala Story” is pretty cool, worth a read 🥰
Interesting to see how many came to #Scala for mostly the same reasons — having fun with #FP 💪👾

https://softwaremill.com/blog/?tag=myscalastory

ross, to programming
@ross@rossabaker.com avatar

Some bidirectional programming with profunctors to start the day. Keep your parser next to your printer.

https://paste.rossabaker.com/ross/b62d58bd66504ed5ae523705c938538e

Inspired by https://poisson.chat/mfbp/abstract.pdf

vascorsd, to programming
@vascorsd@mastodon.social avatar

Comonadic builders

"we want to implement the Builder programming pattern"

https://chshersh.com/posts/2019-03-25-comonadic-builders

#programming #functionalprogramming #fp #monads #haskell

krisajenkins, to haskell
@krisajenkins@mastodon.social avatar

Simon Peyton Jones is smartest, nicest and most infectiously-enthusiastic people in the whole of computing. So I'm thrilled to be learning from him this week as he joins me to talk about his long history of pushing #FP & #Haskell to the state of the art; his present work for Epic Games, formalizing Functional Logic Programming with #Verse; and his vision for the future, raising the bar for computing education right from primary schools. ❤️

📺 https://youtu.be/UBgam9XUHs0
🎧 https://open.spotify.com/episode/6SZjeryW56NfMjpgId7ZTD?si=6006e295e50c46cd

__sharky__, to FunctionalProgramming
@__sharky__@mastodon.social avatar

First time I need to use destructuring in #clojure . Takes some time to get my head around the syntax , but it works ! #exercism #functionalprogramming #fp #coding

vascorsd, to programming
@vascorsd@mastodon.social avatar

How many people out there have changed from #scala to #elixir successfully?

The language seems interesting enough, being #FP helps, and there seems to be some interesting opportunities out there to work on it.

So, what's the experience changing from one ecosystem to the other, successful stories, failures, recommended reading or learning resources?

🙂

deadblackclover, to FunctionalProgramming
@deadblackclover@functional.cafe avatar

Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.

https://github.com/coalton-lang/coalton

#common_lisp #fp #functionalprogramming

jackhutton, to China
@jackhutton@mstdn.social avatar

[Foreign Policy] : The Endless Frustration of Chinese Diplomacy

Beijing’s representatives are always scared they could be the next to vanish. By Cindy Yu

https://foreignpolicy.com/2023/09/17/china-wolf-warrior-li-shangfu-diplomacy-xi-jinping-ccp-qin-gang/
#china #fp #foreignaffairs

user8e8f87c, to haskell
@user8e8f87c@berlin.social avatar

#Haskell people, what do you prefer?

void iOFunction  

or

 _ <- iOFunction  

and why? Is there any difference?

#FP #FunctionalPrograming #Programming

jesper, to FunctionalProgramming

We are organizing the FP Dag aka Dutch Functional Programming Day on Friday the 5th of January in Delft. People from neighboring countries are also very welcome to join!

The (soft) registration deadline is on the 22th of December (next Friday), so get your tickets soon!

https://www.tudelft.nl/fpday-2024

#FP #FPDag #FunctionalProgramming #Haskell #OCaml #Scala #Racket #Scheme #Agda #Coq #Idris #Lean #AndAllTheOtherLanguagesIForgot

ramin_hal9001, to python
@ramin_hal9001@emacs.ch avatar

Yet another rant about Python and JavaScript:

I hate it when someone tells me, "well Python and JavaScript can be programmed in functional programming style, so they are just as good as any other functional programming language," and "something something objects are the same thing as closures."

Then my program crashes and I spend 20 minutes debugging only to find that for the 100th time I wrote a method like this:

def getThing(self): self.thing

instead of like this:

def getThing(self): return self.thing

...where basically the problem is most of my program is written in functional programming style, except you STILL have to write the fucking "return" statement as the last line of the function.

If your language has "return" as a built-in control flow, it is hopelessly imperative not functional, and there is not a single monad framework or higher-order-function library anywhere that will make your language functional.

Stop telling me imperative languages like Python and JavaScript are just as good as functional languages, they are objectively worse than functional languages.

haskell, to haskell
@haskell@fosstodon.org avatar
ctietze, to swift
@ctietze@mastodon.social avatar

What is the opposite of #polymorphism in terms of programming with (object) types and protocols/interfaces?

Given this maxim:

"Reserve Swift protocols for polymorphisms"

I do understand that the observation "protocol P is used conformed to by one class" is a violation of that maxim.

But what's a correct label for this observation?

"P is monomorphic"
or
"P's usage is monomorphic"
or
"P's usage is a monomorphism"

Or something else entirely?

#swift #swiftlang #fp #oop

vascorsd, to programming
@vascorsd@mastodon.social avatar

This language (that I only became aware today) seems the most similar to #scala syntax wise compared to the more recent new age langs that are targeting #wasm.

Also says it wants a "blend of fp" and bring it to more mainstream ppl.

Some obvious extras or improvements seem to come from #rust (at least on a quick look) which are nice.

But, the more the merrier, #FunctionalProgramming languages, static strong typed (it seems).

#grainlang #fp #ProgrammingLanguages

https://grain-lang.org/docs/guide/hello_world

arrdem, to random
@arrdem@macaw.social avatar

Anyone know of good blog posts or papers that explain and work with the SKI combinator calculus?

jakub_zalas, to FunctionalProgramming

In the previous post, we looked at the benefits of a domain model implemented in a purely functional code.

This time, we’ll consider how it might work in practice by applying the event sourcing pattern to a functional domain model.

As it turns out the two go very well together.

Read more in my latest post “Functional event sourcing”: https://dev.to/jakub_zalas/functional-event-sourcing-1ea5

#eventsourcing #fp #functionalprogramming #ddd #kotlin #arrow #ArrowKt

jakub_zalas, to FunctionalProgramming

A functional domain model is made of pure functions and immutable types. As Domain Driven Design teaches us, it should be expressed in the language shared by everyone involved in the project.

The domain model is arguably the most important layer in an application. It should also be where complexity is tackled.

hackuador, to haskell
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines