RanaldClouston · @RanaldClouston
277 followers · 1327 posts · Server fediscience.org

for a special issue of the Journal of Functional Programming on Program Calculation: "The idea of program calculation, in which programs are derived from specifications using equational reasoning techniques, has been a topic of interest in functional programming since its earliest days.. The aim of this special issue is to document advances that have been made in the field of program calculation in recent years" cambridge.org/core/journals/jo

#fp #jfp #callforpapers

Last updated 1 year ago

Ross A. Baker · @ross
852 followers · 1063 posts · Server social.rossabaker.com

I'm turning kleisli into a verb so we can have its gerund, kleisliing.

Ex: "That's bad kleisliing. Don't do that."

#fp

Last updated 1 year ago

Ah_ya_felei · @Ah_ya_felei
16 followers · 3031 posts · Server lile.cl
Phil Landmeier · @shuttersparks
391 followers · 4273 posts · Server qoto.org

@dbdc4dc6031900bb2cbce65958f468fb2af3c4251e5a2c84f4e93836522686fb Hah. I doubt that is a very popular tag. Not worth spamming.

#fp

Last updated 1 year ago

Phil Landmeier · @shuttersparks
389 followers · 4227 posts · Server qoto.org

I've been very happy with the Jinhao fountain pens I have in my pen collection. Working on them and with them I've collected some information that's useful to me and put it in a blog post.

shuttersparks.net/jinhao-fount

#feeds #fountainpens #fp #jinhao #nibs #fps

Last updated 1 year ago

RanaldClouston · @RanaldClouston
278 followers · 1284 posts · Server fediscience.org

: (Practical Aspects of Declarative Languages) "a well-established forum for researchers and practitioners to present original work emphasizing novel applications and implementation techniques for all forms of declarative programming, including functional and logic programming, database and constraint programming, and theorem proving". popl24.sigplan.org/home/PADL-2

#functionalprogramming #fp #pl #padl2024 #callforpapers

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
146 followers · 1477 posts · Server mathstodon.xyz

is perhaps the most sophisticated ever created.

That may well sound like an oxymoronic statement by an oxygenated moron. But it is true. It behooves all undergraduates to study this little pure jewel. elm-lang.org

Yes, Elm is a web front-end DSL. But it is not a requirement to place that yoke upon one's shoulders. REPL, \(\texttt{elm-test}\), and other command-line tools enable local, off-the-web work.

Besides, these youngsters will have to grapple with web development the moment they enter . So, they might as well get started on it—the proper way in Elm—while still in the nurturing environment of school.

#it #fp #cs #dsl #elm

Last updated 1 year ago

· @user8e8f87c
215 followers · 5959 posts · Server berlin.social

Writing imperative code in is still so much nicer than in any imperative language. You have one simple flow of monadic function, all side effects are encapsulated. Feels a bit like the pipes in but without all of it disadvantages.

Sad thing about Haskell that it is so hard to understand first, but when you do everything is so simple and logically. The more I use it the more I love this beautiful language.

In the problems tries to solve are already solved by design.

#haskell #bash #fp #oop

Last updated 1 year ago

· @user8e8f87c
215 followers · 5959 posts · Server berlin.social

@BoydStephenSmithJr Thanks for your answer.

In my case I want to save a file, so for the first time pressing that button I have not even a file name. So a file dialog opens you save to a file and your write to that file. Next time you press the button, you just want to update the existing file. So I have somehow to keep track of the actions.

In imperative world I could just have a global variable and I read that the state monad is the way to do it, but I haven’t figured out how exactly.

#fp

Last updated 1 year ago

· @user8e8f87c
215 followers · 5934 posts · Server berlin.social

Hey people, what to you think is the easiest way to understand State Monads for someone who is smart enough to see the beauty of and , but also often too stupid to use.

(At least I managed to understand IO monad and now can produce simple apps using it.)

Let’s say I have a save button with a callback that should only create a file when it doesn’t exist already and otherwise just write to that file.

How could I use the state monad for it?

#haskell #fp #gtk

Last updated 1 year ago

KenwoodChef · @KenwoodChef
11 followers · 87 posts · Server librarysocialism.social

Is it good to use functional optics for handel xml?

Whats the relationship between functional optics and XPaths?

Ive seen this scala library for xml with optics.

#xml #fp #functionalprograming #functionaloptics

Last updated 1 year ago

KenwoodChef · @KenwoodChef
11 followers · 87 posts · Server librarysocialism.social

Is it good to use functional optics for handel xml?

Whats the relationship between functional optics and XPaths?

Ive seen this scala library for xml with optics.

#xml #fp #functionalprogramings #functionaloptics

Last updated 1 year ago

KenwoodChef · @KenwoodChef
11 followers · 87 posts · Server librarysocialism.social

Is it good to use functional optics for handel xml?

Whats the relationship between functional optics and XPaths?

Ive seen this scala library for xml with optics.

#FunctionalOptics

#xml #fp #functionalprogramings

Last updated 1 year ago

KenwoodChef · @KenwoodChef
11 followers · 87 posts · Server librarysocialism.social

Is it good to use functional optics for handel xml?

Whats the relationship between functional optics and XPaths?

Ive seen this scala library for xml with optics.

#xml #fp #functionalprograming #functionaloptics

Last updated 1 year ago

amen zwa, esq. · @AmenZwa
145 followers · 1470 posts · Server mathstodon.xyz

A vexing habit of practice book authors (the non-academic types) who dabble in is their propensity to invent their own seemingly "intuitive" terms for long-established concepts of : monoid, functor, applicative, monad, category, ....

Good analogies are acceptable in instruction, and incisive examples more so. But usurping existing, general mathematical concepts by anointing them with one's own concocted lay terms is uncomely. Such conduct pollutes the namespace.

The reason why a mathematical term seems aloof is because its inventor (a bona fide mathematician) struggled, long and hard, to abstract out a fundamental, general concept from many specific instances.

The least we should do is to study the general principle the mathematician worked hard to uncover. Trying to displace that established, general principle with dumbed-down, specialised, lay terms is just rolling back progress.

#mathematics #fp #it

Last updated 1 year ago

L'Osservatorio Esteri · @OsservatorioEsteri
647 followers · 6170 posts · Server mastodon.uno


Il nuovo governo prevederà la presenza dei due partiti dei generali autori del colpo di Stato, oltre che di quasi tutti gli altri che hanno ottenuto almeno un seggio alle elezioni di Maggio.
A restarne fuori saranno solo |Centro-sinistra, |Centro-destra, |Centristi anti-militaristi e |Centro-sinistra.

@OsservatorioEsteri

#thailandia #mfp #dem #tst #fp

Last updated 1 year ago

L'Osservatorio Esteri · @OsservatorioEsteri
647 followers · 6170 posts · Server mastodon.uno


Il nuovo governo prevederà la presenza dei due partiti dei generali autori del colpo di Stato, oltre che di quasi tutti gli altri che hanno ottenuto almeno un seggio alle elezioni di Maggio.
A restarne fuori saranno solo |Centro-sinistra, |Centro-destra, |Centristi anti-militaristi e |Centro-sinistra.

@OsservatorioEsteri

#thailandia #mfp #dem #tst #fp

Last updated 1 year ago

FaizalR · @faizalr
216 followers · 1634 posts · Server mstdn.social

@endocrine_witch I'm afraid the barrel needs a service before the ink finish.

#fp

Last updated 1 year ago

鼯鼠工程師 🦊 · @wancw
200 followers · 2023 posts · Server g0v.social

濫用 asUnit 好可怕啊,沒有 flatten map 也不會發現。 Q_Q

-ts

#fp

Last updated 1 year ago

Andrew Tropin · @abcdw
719 followers · 1336 posts · Server fosstodon.org

If you are into programming languages, learning Ocaml (or other ML dialect like StandardML) makes a lot of sense, it's helpful for reading papers, watching conference talks, understanding basics of type theory, going through PL courses and all other fancy stuff.

Here is a good introductionary course on OCaml and functional programming:

cs3110.github.io/textbook/cove

youtube.com/playlist?list=PLre

#ocaml #pl #lisp #fp #functionalprogramming #types #typetheory #semantics

Last updated 1 year ago