haskell, to haskell
@haskell@fosstodon.org avatar

Haddock now lives in the GHC repository! 🎉

Shorter feedback cycles for contributors and higher quality of releases, these are a few of our favourite things about the Haddock documentation generation tool coming home to the GHC repository.

https://discourse.haskell.org/t/haddock-now-lives-in-the-ghc-repository/9576

mangoiv, to haskell
@mangoiv@functional.cafe avatar

https://bin.mangoiv.com/note?id=d98221a5-bc33-4ff9-b55f-a8011dd389a1

For ers using neovim I have a little treat to make their code lenses less ugly :ablobcatreachreverse:

(Thing is in nix, if you don’t use nix, then you will know how to patch your neovim, I guess 😁)

Jose_A_Alonso, to haskell
@Jose_A_Alonso@mathstodon.xyz avatar

The Haskell Unfolder Episode 25: from Java to Haskell. ~ Edsko de Vries (@EdskoDeVries), Andres Löh (@kosmikus). https://www.youtube.com/live/YwshlQXKO80

kosmikus, to haskell
@kosmikus@functional.cafe avatar

Later today, 2024-05-15, at 1830 UTC, join Edsko and me for the 25th episode of the #Haskell #Unfolder "from #Java to Haskell" live on #youtube.

https://well-typed.com/blog/2024/05/haskell-unfolder-episode-25-from-java-to-haskell/

maralorn, to haskell
@maralorn@chaos.social avatar

execState, runState or evalState? 🤔

#haskell

crmsnbleyd, to haskell
@crmsnbleyd@emacs.ch avatar

how the hell do you add dependencies in Haskell stack, I add yesod to the build-depends in the cabal file like shown in the stack example but on running stack build it fails saying it couldn't find yesod, and then the line is removed from the cabal file. Haskell ecosystem is hell.

#haskell

lily, to rust
@lily@glaceon.social avatar

the rust "impl" keywork is kinda weird.

usually, it is used to define methods, but in function arguments, it serves as syntactic sugar so you don't have to name generic types... but in a return type, it has a meaning that is slightly different, and actually expresses a semantic not even vanilla haskell can represent!

basically, instead of being able to return any type implementing a trait, it states that it can return at least one type that implements a trait.

in haskell terminology, specifying a generic type parameter is "forall a", while returning an "impl" is "exists a".

6d03, to haskell
@6d03@mathstodon.xyz avatar

This is a super cool idea: parsing SQL during compile time using #Haskell quasi-quotation.

Doing something like this had been on my todo list, when it turns out someone already thought of it 🤷

https://github.com/nikita-volkov/hasql-th

haskell, to haskell
@haskell@fosstodon.org avatar

"We don’t have too many String types" – The ultimate guide to #Haskell Strings by Julian Ospald

https://discourse.haskell.org/t/the-ultimate-guide-to-haskell-strings/9538

Jose_A_Alonso, to FunctionalProgramming
@Jose_A_Alonso@mathstodon.xyz avatar
biscuitauth, (edited ) to random French
@biscuitauth@hachyderm.io avatar

biscuit-haskell-0.3.0.1 and biscuit-servant-0.3.0.1 have been released, bringing support for newer GHCs (9.4, 9.6, 9.8), as well as a couple datalog improvements.

biscuit-haskell changelog
biscuit-servant changelog

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

mangoiv, (edited ) to random
@mangoiv@functional.cafe avatar

Who’s coming to ZuriHac?! I’m so excited!

#haskell

bgamari, to haskell
@bgamari@mastodon.social avatar

GHC 9.10.1 is at long last released!

Between the continued iteration on the GHC20xx meta-extension mechanisms, further improvements in the JS/wasm backends, and (my favorite) the availability of exception backtraces in base, there is lots in this release to be excited about.

See the Haskell Discourse thread for the full announcement:

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

simonmic, to gamedev
@simonmic@fosstodon.org avatar

This talk on indie video game design is very good, and not just for game dev..
https://www.youtube.com/watch?v=o5K0uqhxgsE

hungryjoe, to haskell
@hungryjoe@functional.cafe avatar

#haskell #ghcup discovery

If like me, you use ghcup tui, and constantly find yourself pressing "u" thinking it means "use" only to find it means "uninstall", you can change the keybindings by editing ~/.ghcup/config.yaml

key-bindings:<br></br>  uninstall:<br></br>    KChar: 'r'<br></br>  set:<br></br>    KChar: 'u'<br></br>

https://github.com/haskell/ghcup-hs/blob/a847ce6d2daa5e92a2a719cc5c4c9f1ae66e98ff/data/config.yaml#L24

kosmikus, to haskell
@kosmikus@functional.cafe avatar

On Wednesday, 2024-05-15, at 1830 UTC, we'll stream the 25th episode of the . This episode should be interesting for Haskellers and non-Haskellers alike. Edsko and I will translate a server from to Haskell, contrasting the programming paradigms.

https://www.youtube.com/watch?v=YwshlQXKO80&list=PLD8gywOEY4HaG5VSrKVnHxCptlJv2GAn7&index=25

decoderwheel, to react
@decoderwheel@hachyderm.io avatar

Development notes from xkcd's "Machine"

https://chromakode.com/post/xkcd-machine/

haskell, to haskell
@haskell@fosstodon.org avatar

Cabal 3.12 has been released! A plethora of changes and improvements, thanks to the dedicated work of the entire team. Grab it and give it a try! https://discourse.haskell.org/t/ann-cabal-3-12-0-0-released/9504 #Haskell

chromakode, to random
@chromakode@mastodon.social avatar
simonmic,
@simonmic@fosstodon.org avatar

@chromakode Outstanding work!!!

#haskell #gamedev

ffaff, to haskell
@ffaff@aleph.land avatar

Cabal 3.12 released! Lots of new features for users, but also for users (multicomponent repl sessions) and much more!

https://discourse.haskell.org/t/ann-cabal-3-12-0-0-released/9504

Boosts appreciated to reach the wider community!

BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

Note to self: type variables in and cannot be bound to partially applied type synonyms.

If you try to do so, in a sufficiently polymorphic way, you'll get very confusing type errors as the checker attempts to solve things with the variable bound to the "head" of the (parametrically expanded) type alias.

Last night it was (forall r. (forall f. Foldable1 f => f a -> r) -> r) and tonight it was (a -> Term a). Introducing a newtype can help, but beware impredicativity.

joeyh, to haskell
@joeyh@hachyderm.io avatar

Last week I prototyped a git remote helper in a shell script, and now I'm rewriting that in as part of .

I don't do this often and I wonder if it was a mistake, probably I should have written the prototype in haskell and then integrated it into git-annex. It's kind of amazing how a lot of complexity is melting away and also how I'm adding So Many Types and also throwing in a lot of robustness improvements.

mangoiv, to haskell
@mangoiv@functional.cafe avatar

Out:
(A -> D) -> B -> C -> D

In:
(A -> (D, B, C) ) -> D

#haskell

maralorn, to haskell
@maralorn@chaos.social avatar

I would like to see CNN style real time coverage of software releases, e.g.:

BREAKING: New ghc release just dropped!

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