haskell, to haskell
@haskell@fosstodon.org avatar

The GHC developers are very pleased to announce the release of GHC 9.10.1! πŸŽ‰

On the menu:
β†’ GHC2024 language edition
β†’ Linear let and where
bindings
β†’ Annotation of exceptions with backtraces
β†’ Required type arguments for functions
β†’ Javascript FFI support in the WebAssembly backend
… and many more!

https://discourse.haskell.org/t/ghc-9-10-1-is-now-available/9523

#Haskell #FunctionalProgramming #LinearTypes #DependentTypes

jbzfn, to FunctionalProgramming
@jbzfn@mastodon.social avatar

🐫 Pretty Printing in OCaml: A Format Primer
βž₯ Vladimir Keleshev

https://keleshev.com/pretty-printing-in-ocaml-a-format-primer

Jose_A_Alonso, to haskell
@Jose_A_Alonso@mathstodon.xyz avatar

The Haskell Unfolder Episode 24: generic (un)folds. ~ Edsko de Vries (@EdskoDeVries), Andres LΓΆh (@kosmikus). https://www.youtube.com/live/QTgRKWGDVr0

haskman, to javascript
@haskman@functional.cafe avatar

Since the backend post (https://www.moonbitlang.com/blog/js-support) is trending, I thought I'd compare backend optimizer (https://github.com/aristanetworks/purescript-backend-optimizer) output to see how it fares. The results were pretty good!

With basically this PureScript code -

run = fromArray  
 >>> flatMapF (fromArray <<< _.members)  
 >>> filterF _.gender  
 >>> mapF (\x -> min 100 (x.score + 5))  
 >>> mapF grade  
 >>> filterF (_ == 'A')  
 >>> foldF (\_ x -> x+1) 0  

the benchmark results are as follows. PureScript is roughly 6x faster than plain JS, and 6x slower than Moonbit output ( -

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  
β”‚ (index) β”‚ Task Name β”‚ ops/sec β”‚ Average Time (ns) β”‚ Margin β”‚ Samples β”‚  
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€  
β”‚ 0 β”‚ 'Moonbit' β”‚ '34,67,542' β”‚ 288.38869989829305 β”‚ 'Β±0.06%' β”‚ 1733772 β”‚  
β”‚ 1 β”‚ 'Plain Js' β”‚ '74,816' β”‚ 13365.983827421464 β”‚ 'Β±0.54%' β”‚ 37409 β”‚  
β”‚ 2 β”‚ 'Kotlin Js' β”‚ '1,90,241' β”‚ 5256.474017304151 β”‚ 'Β±0.38%' β”‚ 95121 β”‚  
β”‚ 3 β”‚ 'PureScript' β”‚ '4,99,456' β”‚ 2002.1768597161156 β”‚ 'Β±0.70%' β”‚ 249729 β”‚  
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  

vascorsd, to FunctionalProgramming
@vascorsd@mastodon.social avatar

Flatmaps and do-notation, but different >.>


Functional Semantics in Imperative Clothing - https://rtfeldman.com/imperative-clothing

jbzfn, to FunctionalProgramming
@jbzfn@mastodon.social avatar

γ€Œ CakeML is a functional programming language and an ecosystem of proofs and tools built around the language. The ecosystem includes a proven-correct compiler that can bootstrap itself 」

https://cakeml.org

vascorsd, to haskell
@vascorsd@mastodon.social avatar
vascorsd,
@vascorsd@mastodon.social avatar

Effectful - An easy to use, fast extensible effects library with seamless integration with the existing Haskell ecosystem.

https://flora.pm/packages/@hackage/effectful

furmans, to FunctionalProgramming
@furmans@chaos.social avatar

We are super glad to inform you that LAMBDA WORLD CADIZ is BACK...

πŸ—“οΈ2-4 October 2024
πŸ“ŒPalacio de Congresos de Cadiz
🎟️Early CamarΓ³n at €150
πŸͺ©lambda.world

Should the best Rock-Funky-Hard SolYNaranjaS band make a noise there...? Should not ?

leanpub, to FunctionalProgramming
@leanpub@mastodon.social avatar

Practical FP in Scala + Functional event-driven architecture https://leanpub.com/b/pfp-feda-scala by Gabriel Volpe is the featured bundle on the Leanpub homepage! https://leanpub.com

Jose_A_Alonso, to FunctionalProgramming
@Jose_A_Alonso@mathstodon.xyz avatar
Jose_A_Alonso, to FunctionalProgramming
@Jose_A_Alonso@mathstodon.xyz avatar

Getting your Haskell executable statically linked with Nix. ~ Tom Sydney Kerckhove. https://cs-syd.eu/posts/2024-04-20-static-linking-haskell-nix

bart, to FunctionalProgramming
@bart@floss.social avatar

fp-ts brought advanced to . Now a related project implementing an effect system for TypeScript (effect-ts) seems to have gotten a lot of VC money. Interesting... Docs look very polished, not sure how they will make money though.

https://effect.website/

Jose_A_Alonso, to haskell
@Jose_A_Alonso@mathstodon.xyz avatar
techtalksweekly, to Java
@techtalksweekly@mastodon.social avatar
techtalksweekly,
@techtalksweekly@mastodon.social avatar

1/7 ""Moving IO to the edges of your app: Functional Core, Imperative Shell - Scott Wlaschin" βΈ± +8k views βΈ± 12 Apr 2024 βΈ± 01h 00m 35s
https://youtube.com/watch?v=P1vES9AgfC4

Jose_A_Alonso, to haskell
@Jose_A_Alonso@mathstodon.xyz avatar

The Haskell Unfolder Episode 23: specialisation. ~ Edsko de Vries (@EdskoDeVries), Andres LΓΆh (@kosmikus). https://www.youtube.com/live/ksW04Cl2dgo #Haskell #FunctionalProgramming

toxi, to FunctionalProgramming
@toxi@mastodon.thi.ng avatar

Phew... One key step closer to replicating & simplifying core https://thi.ng/rstream functionality via just standard async iterables: Just added a mult() base-operator to https://thi.ng/transducers-async [1] which allows splitting a single async iterable into multiple child async iterables (aka subscriptions, aka 1:N splitting), each of which can be added/removed dynamically and individually processed e.g. via transducers, vanilla for await() consumers, and/or used as input for downstream mult()s to construct entire graph topologies (cycles allowed) of async processors etc. Back pressure is handled by waiting for all child subscriptions to deliver the value before consuming a new one from the source...

[1] https://github.com/thi-ng/umbrella/blob/develop/packages/transducers-async/src/mult.ts

#ThingUmbrella #Async #Transducers #ReactiveProgramming #FunctionalProgramming #TypeScript #JavaScript

leanpub, to FunctionalProgramming
@leanpub@mastodon.social avatar

The Art of Functional Programming by Minh Quang Tran, PhD is on sale on Leanpub! Its suggested price is $24.99; get it for $17.99 with this coupon: https://leanpub.com/sh/xxltuCKP

haskman, to fpindia
@haskman@functional.cafe avatar

Announcing the next meetup, this Saturday 20 April in .

We’re diving into deeper FP waters with applicatives, monads, and transformers.

Join us! Our Telegram group has more details and updates. https://t.me/fpncr

toxi, to typescript
@toxi@mastodon.thi.ng avatar

For @made and others who might have questions about the new https://thi.ng/transducers-async library, I've tried to illuminate the behind-the-scenes approach over here:

https://github.com/thi-ng/umbrella/discussions/461#discussioncomment-9102966

#ThingUmbrella #Transducers #Async #Generators #TypeScript #JavaScript #FunctionalProgramming

gregorni, to programming
@gregorni@fosstodon.org avatar

Somehow, I constantly experience a weird inner urge to learn OCaml πŸͺ πŸ€”

angelmunoz, to programming
@angelmunoz@misskey.cloud avatar

For real, whoever is saying that F# or OCaml require a PhD in Math or are languages just for math, science, and academic stuff is completely lying to you, it is no harder than learning JavaScript/python or any other language out there.

leanpub, to javascript
@leanpub@mastodon.social avatar

Functional-Light JavaScript (Book & Code) by Kyle Simpson is on sale on Leanpub! Its suggested price is $29.95; get it for $21.56 with this coupon: https://leanpub.com/sh/drMbxNla #Javascript #FunctionalProgramming

abnv, to FunctionalProgramming
@abnv@fantastic.earth avatar
leanpub, to devops
@leanpub@mastodon.social avatar

NixOS in Production: The NixOS handbook for professional use ONLY https://leanpub.com/nixos-in-production by Gabriella Gonzalez is the featured book on the Leanpub homepage! https://leanpub.com

  • All
  • Subscribed
  • Moderated
  • Favorites
  • β€’
  • anitta
  • ngwrru68w68
  • hgfsjryuu7
  • InstantRegret
  • Youngstown
  • rosin
  • slotface
  • everett
  • mdbf
  • ethstaker
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • PowerRangers
  • Leos
  • magazineikmin
  • Durango
  • cubers
  • GTA5RPClips
  • cisconetworking
  • tacticalgear
  • osvaldo12
  • khanakhh
  • vwfavf
  • tester
  • modclub
  • normalnudes
  • provamag3
  • All magazines