kosmikus, to random
@kosmikus@functional.cafe avatar

Tomorrow, 2023-12-20, at 1930 UTC, Edsko and I will do the final Unfolder episode of the year 2023. This time, we're going to take a bit more time and talk about "circular programs", i.e., programs that depend on their own result.

https://www.youtube.com/watch?v=eHYeoNw00pc&list=PLD8gywOEY4HaG5VSrKVnHxCptlJv2GAn7&index=17

mangoiv, to random
@mangoiv@functional.cafe avatar

I feel like although for nerds like me putting more types in a language is a cool thing, what would be much more important as a topic of research, in practise, is reducing the syntactic overhead of type systems. I recently heard so many complaints about this, I feel like we’re not there yet; I do agree.

mangoiv,
@mangoiv@functional.cafe avatar

I think what exhibits this problem is if you’re trying to rewrite a Python script in Haskell; sure, with Dynamic and a lot of rewriting you can get somewhere near the conciseness of the Python script but not when you’re actually trying to stay safe, even things like shelling out, bracketing resources and converting between string formats take up so much space that in most cases is just not justified at all.

simonmic, to random
@simonmic@fosstodon.org avatar

https://haskell-links.org/browser-keywords

SM's Handy Keywords, these can save a lot of time

DiazCarrete, to random
@DiazCarrete@hachyderm.io avatar
ClashHDL, to random
@ClashHDL@fosstodon.org avatar

Time for my to the Fediverse! :masto_love:

Clash is an open source functional hardware description language built on .
The Clash compiler allows you to use Haskell features like its strong and powerful typesystem as well as use existing Haskell code and libraries in your and designs! You can test your designs right inside the REPL, simulate it alongside other Haskell code or output / / code for synthesis.

Links in the profile ✨

kosmikus, to random
@kosmikus@functional.cafe avatar

Just ~90 minutes until the start of episode 16 of The Unfolder. This time about some Haskell history (the Applicative Monad Proposal), a recent Mastodon thread by @MartinEscardo , and about DerivingVia!

https://www.youtube.com/watch?v=tnCHrPZk8xo&list=PLD8gywOEY4HaG5VSrKVnHxCptlJv2GAn7&index=16

kosmikus, to random
@kosmikus@functional.cafe avatar

It's time for an all-new episode of the Unfolder! Edsko and I are going to discuss an application of the DerivingVia language extension to the monad class. You can watch live 2023-12-06 at 1930 UTC (live questions welcome!) or access the recording afterwards: https://www.youtube.com/watch?v=tnCHrPZk8xo&list=PLD8gywOEY4HaG5VSrKVnHxCptlJv2GAn7&index=16

DiazCarrete, to random
@DiazCarrete@hachyderm.io avatar
kephalos, to random German
@kephalos@social.tchncs.de avatar

a question. Is there an active community around here?

I can understand how typeclasses are implemented for typeclass functions that have the implementation type as first argument (such as (>>=) in the Monad typeclass).

But for signatures like return (a -> m a) is there some special magic happening?

I currently assume its compile time type inference from return being used in a context of (>>=), as >>= expects a function (a -> m b)

penwing, to random

think I've set up my environment for Advent of Code 2023 starting tomorrow... I'll see you nowhere near the global leaderboard...

I'll be arsing around with again...

https://adventofcode.com/2023

https://github.com/iampenwing/AoC2023

hungryjoe, to random
@hungryjoe@functional.cafe avatar
johnny, to random
@johnny@chaos.social avatar

Software Transactional Memory: vs.

New post! Comparing these was a lot of fun. Shoutout to @plexus for the inspiration with the concurrency problem.
https://leftfold.tech/posts/pie-a-la-mode/

BoydStephenSmithJr, to random
@BoydStephenSmithJr@hachyderm.io avatar

Projective geometry in for better slicing in https://media.ccc.de/v/camp2023-57408-a_geometry_engine_from_first_principles by one of the hardest working people I know.

jaror, to haskell
@jaror@kbin.social avatar

Anyone want to guess how many errors this code generates:

{-# LANGUAGE DerivingVia #-}

module T where

newtype OrdList1 a = OrdList1 [a]
  deriving (Functor, Foldable, Traversable) via []

newtype OrdList2 a = OrdList2 [a]
  deriving (Functor, Foldable, Traversable) via Maybe

#haskell

djrmarques, to random
@djrmarques@emacs.ch avatar

Any cool open source projects? I would like to start taking a look about what a real project looks like. I know about pandoc (which I will check out), but is there something maybe related to databases or data streaming of sorts?

mangoiv, to random
@mangoiv@functional.cafe avatar

The glorious Glasgow Haskell Compiler is preparing for the next GHCxxxx edition. These are bundles of extensions that are considered popular, stable and useful and should be offered to any Haskeller out there. There was already one such edition, GHC2021, replacing the original Haskell standards process after GHC had become basically the only widely used Haskell implementation.

If you want to be part of this proposal, this is your chance, vote now and make Haskell more convenient for yourself!

Big thanks to @nomeata for driving the process.

https://discourse.haskell.org/t/ghc2024-community-input/8168

jesper, to random
@jesper@agda.club avatar

I really need this in my Haskell: github.com/ghc-proposals/ghc-proposals/pull/621

Sadly, even if it gets merged it will take at least 5 more years before we can use it in the Agda codebase.

kosmikus, to random
@kosmikus@functional.cafe avatar

Looking forward to streaming a new episode of the Unfolder. Tomorrow, 2023-11-22 at 1930 UTC, Edsko and I will discuss interruptible operations, a topic that was requested by our audience during the episode we did on generalBracket.

https://www.youtube.com/watch?v=VpYC-uixrEQ&list=PLD8gywOEY4HaG5VSrKVnHxCptlJv2GAn7&index=15

abuseofnotation, to random
@abuseofnotation@mathstodon.xyz avatar

I haven't written any in years, so I decided to do one little shell script, just to see if I remember.

Some random thoughts:

  • The tooling and documentation still leaves you feeling stupid (unlike, PureScript, for example)
  • I hate this packing and unpacking of strings.

Oh, and here is the script, feedback and questions are welcome:

https://github.com/abuseofnotation/abuseofnotation.github.io/blob/master/build-jekyll-tags.hs

underlap,
@underlap@fosstodon.org avatar

@abuseofnotation "The tooling and documentation still leaves you feeling stupid"

If that was intended as a criticism and not a compliment (!), I tend to agree. Haskell seems to engender opaque terminology (e.g. Functor rather than Mappable). I really appreciate Haskell's mathematical basis, but tools and docs should aim to be simple and clear to make them as easy to use as possible.

leanpub, to random
@leanpub@mastodon.social avatar

Finding Success (and Failure) in Haskell by Type Classes is on sale on Leanpub! Its suggested price is $35.00; get it for $12.50 with this coupon: https://leanpub.com/sh/YgRLpd4C #Haskell

hungryjoe, to random
@hungryjoe@functional.cafe avatar
kosmikus, to random
@kosmikus@functional.cafe avatar

Today, I finally managed to release a new version of lhs2TeX for the first time since 2020. Hopefully, building with recent GHCs should now become a bit easier again. I've also restored CI to the repository. #haskell

haskell, to random
@haskell@fosstodon.org avatar

GHCup 0.1.20.0 released! Amongst other things, support for:

  • TUI on Windows
  • JS and wasm cross compilers
  • Void Linux and Rocky Linux

https://discourse.haskell.org/t/ann-ghcup-0-1-20-0-released/8069

#haskell

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines