someodd, to haskell
@someodd@fosstodon.org avatar

Do you as a language, lends itself to fast prototyping and iteration?

cloudyluna, to Furry
@cloudyluna@woof.tech avatar

#introduction

Hewwo, I'm Luna! :nkoLove: and am new to Fediverse. I'm a housecat-fox hybrid #furry :blobcat_nwn: :collar: :blobcatpats:. You can just call me Luna or Floof.

I'm a #trans #nonbinary :heart_transgender: and my pronouns are she/they/it.

I also find smol animals like cats, domesticated rats, pigeons and guinea pigs to be super adorable :ablobcathappypaws:.

My hobbies are #programming #haskell, #rust and #python casually :blobfoxcomputer: and playing Stardew Valley, Skyrim, CDDA and Widelands. Occasionally I read epic fantasy, romantic or horror novels whenever I feel cozy :blabcat:. My knowledge in these aren't deep though :blobcatgiggle:.

I'm also a #linux 🐧 user and fond of #emacs.

I mostly will be using Fediverse to share about my own journey on programming, sharing (boosting?) furry or cute arts and my own random (cat? meow?) thoughts in general.

On that note, I refrain from sharing suggestive content on my page and whenever I do, they will be tagged & marked with NSFW content warnings.

Ty for reading! : :blabcat: :blabfox:

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar

I've published "dani-servant-lucid2" on Hackage. It's a tiny package that provides a HTML content type for Servant, backed by the "lucid2" HTML library.
https://hackage.haskell.org/package/dani-servant-lucid2
https://github.com/danidiaz/dani-servant-lucid2

There was already an integration for an earlier version of lucid https://hackage.haskell.org/package/servant-lucid but not for lucid2. https://github.com/haskell-servant/servant-lucid/issues/26

Also, "dani-servant-lucid2" has a public sublibrary with extra definitions, but it seems as if Hackage doesn't display info for public sublibraries yet.

#Haskell

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar

In Servant, the ServerError type has an Exception instance
https://hackage.haskell.org/package/servant-server-0.20/docs/Servant-Server.html#t:ServerError
You might speculate that when throwing a ServerError using liftIO . throwIO in a Handler, the ServerError is automatically caught and served as a response, but it ain't so: it's treated as just another exception, and the response code is 500.

Instead, you should throw ServerErrors using "throwError", re-exported from the "Servant" module.
https://hackage.haskell.org/package/servant-server-0.20/docs/Servant.html#v:throwError

#haskell

image/png

abucci, to ProgrammingLanguages
@abucci@buc.ci avatar

A weird thing about being 50 is that there are programming languages that I've used regularly for longer than some of the software developers I work with have been alive. I first wrote BASIC code in the 1980s. The first time I wrote an expression evaluator--a fairly standard programming puzzle or homework--was in 1990. I wrote it in Pascal for an undergraduate homework assignment. I first wrote perl in the early 1990s, when it was still perl 4.036 (5.38.2 now). I first wrote java in 1995-ish, when it was still java 1.0 (1.21 now). I first wrote scala, which I still use for most things today, in 2013-ish, when it was still scala 2.8 (3.4.0 now). At various times I've been "fluent" in 8086 assembly, BASIC, C, Pascal, perl, python, java, scala; and passable in LISP/Scheme, Prolog, old school Mathematica, (early days) Objective C, matlab/octave, and R. I've written a few lines of Fortran and more than a few lines of COBOL that I ran in a production system once. I could probably write a bit of Haskell if pressed but for some reason I really dislike its syntax so I've never been enthusiastic about learning it well. I've experimented with Clean, Flix, Curry, Unison, Factor, and Joy and learned bits and pieces of each of those. I'm trying to decide whether I should try learning Idris, Agda, and/or Lean. I'm pretty sure I'm forgetting a few languages. Bit of 6502 assembly long ago. Bit of Unix/Linux shell scripting languages (old enough to have lived and breathed tcsh before switching to bash; I use fish now mostly).

When I say passable: in graduate school I wrote a Prolog interpreter in java (including parsing source code or REPL input), within which I could run the classic examples like append or (very simple) symbolic differentiation/integration. As an undergraduate I wrote a Mathematica program to solve the word recognition problem for context-free formal languages. But I'd need some study time to be able to write these languages again.

I don't know what the hell prompted me to reminisce about programming languages. I hope it doesn't come off as a humblebrag but rather like old guy spinning yarns. I think I've been through so many because I'm never quite happy with any one of them and because I've had a varied career that started when I was pretty young.

I guess I'm also half hoping to find people on here who have similar interests so I'm going to riddle this post with hashtags:

#Coding #SoftwareDevelopment #ProgrammingLanguages #8086Assembly #BASIC #C #Pascal #perl #java #scala #LISP #Scheme #Prolog #Mathematica #ObjectiveC #matlab #octave #R #Python #Fortran #COBOL #Haskell #Clean #Flix #Curry #Factor #Unison #Joy #Idris #Agda #Lean #6502Assembly

BoydStephenSmithJr,
@BoydStephenSmithJr@hachyderm.io avatar

@abucci I didn't write an interpreter until college, but I also started with BASIC in the 80s.

Currently writing #haskell for work and #purescript (and Haskell) when I'm not on the clock. Previously did everything from PHP or PowerBuilder to C and C++ to Java and Scala or C#.

Really want a practical language based on Graded Modal Dependent Type Theory so putting some of my spare cycles into playing with that. Interested in having safe+easy lexical capture AND GC-free execution regions.

vascorsd, to haskell
@vascorsd@mastodon.social avatar
DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar

friendship ended with ScopedTypeVariables, TypeAbstractions is my new best friend
https://serokell.io/blog/ghc-dependent-types-in-haskell-3

furmans, to FunctionalProgramming

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

#functionalprogramming #Scala #Erlang #Haskell #Clojure #Kotlin #fsharp

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

BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

Anyone want to volunteer a guide for when to use #yoneda instead of #coyoneda in #haskell or #purescript ?

I'm wanting to provide an HFunctor (https://pursuit.purescript.org/packages/purescript-fix-functor/0.1.0/docs/FixFunctor#t:HFunctor) instance but the naive way to do that requires me to "invent" a Functor instance for the source type constructor -- thinking of adding a yoneda/coyoneda wrapper and I think either would work, but I'm not sure.

BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

> none of the modifying functors are the same as the type being defined, that is, we do not consider non-linear non-uniform recursion

Oh, fiddlesticks. I've been trying to use this paper for non-linear recursion. I think I might have to invent/discover instead of just mimic. I'm not as good at that! :P

Please send me your best references for non-linear non-uniform recursion since Blampied2000. Bonus points for code, but categorical abstract nonsense is fine, too.

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

fighting the urge to rewrite #nix in #Haskell

Profpatsch, to typescript
@Profpatsch@mastodon.xyz avatar

Okay, so

After spending some time with #typescript, going back to #haskell is a real hard sell, ngl

counterVariable, to haskell French

Dear mother of transistors does #Haskell syntax feel like a bunch of math nerds tried to create a new language. It feels so unreadable.

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 #FunctionalProgramming #Haskell #Nix

MrTarantoga, to haskell German

Ein Freund von mir hat einen Parser in geschrieben. Dieser ist schnell, fehlerfrei und gut lesbar.

Leider darf er diesen nicht verwenden, da Haskell keine im Projekt zugelassene Sprache ist.

Jetzt verwendet er ihn stattdessen, um die in der Spezifikation abgelegten Konfigurationen zu erzeugen und den C-Parser vollständig zu testen.

Die Firma ist sehr an der Methode zur Verifikation interessiert. Dabei ist es egal, dass es Haskell ist.

abuseofnotation, to haskell

A great paper for understanding #dependenttypes (partly authored by @pigworker )

https://www.andres-loeh.de/LambdaPi/LambdaPi.pdf

I like how it introduces the typing rules of simply-typed lambda calculus and then amends them to support dependent types.

#haskell #typetheory

BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

No type equalities. For any fixed a, given c :: a -> f a and si :: (forall f r. Functor f => a -> f r -> f (a -> r) provide a runtime value (a Bool) that is True is a is isomorphic to Void and False otherwise.

?

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar
Jose_A_Alonso, to haskell
@Jose_A_Alonso@mathstodon.xyz avatar
BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

Anyone in my (or other, I guess) circles in charge of www.cs.nott.ac.uk ? It was working yesterday, but it keeps timing out (for me) today.

I need to re-read the section of blampied-thesis.pdf on the prefix functor, and especially how it works when the non-uniform type is self-nested in interesting ways.

Trying to do a "project :: t -> f t" and keep getting hung up on the Scope-modified recursions.

Alternatively, is that thesis available elsewhere? I searched, but haven't found.

simonmic, (edited ) to PersonalFinance
@simonmic@fosstodon.org avatar

I'm pleased to announce hledger 1.33!
Highlights: close enhancements, hledger-ui 'dark' theme, GHC 9.8 support, Apple ARM binaries, and the usual improvements/fixes. Many thanks to all contributors.

#hledger is free, fast, reliable, multicurrency, double-entry,
#PlainTextAccounting software for unix, mac, windows, and the web. For help, join our chat or mail list: https://hledger.org/support

#PersonalFinance #haskell

jesper, to haskell
@jesper@agda.club avatar

This is a great blog post on the WellTyped blog on specialization in Haskell! It's a good reminder that I (or someone) should really get around to getting rid of -fexpose-all-unfoldings and -fspecialize-agressively in the Agda codebase.

well-typed.com/blog/2024/04/choreographing-specialization-pt1/

(Also I didn't know about -flate-specialise and -fpolymorphic-specialisation, though I think I'd rather avoid relying on even more flags.)

#Haskell #compiler #performance #blog

haskell_foundation, to haskell
@haskell_foundation@mastodon.social avatar

The term 'telemetry' can raise a lot of concerns, especially within the realm of #OSS. In the latest episode of #TheHaskellInterlude, Joachim Breitner and Andres Löh interview @avi_press, the CEO of @scarf_oss. Learn more about the episode here: https://haskell.foundation/podcast/47/
#Haskell

fargate, to haskell

Helsinki Haskell Users Group's first book club had its conclusion meeting today with Sockets and Pipes coming to its very end. It has been a ride, one with plenty of scheduling difficulties, but I think we only fell like a month and a half from the original planned schedule and actually had a member retention rate of 100% (of members who were there in the beginning, sadly we could not quite make it 133%)!

To talk a bit about the book as a whole, I do feel like I understand Monad Transformers a lot better now though I'll still need to reread the sections introducing them I am sure. ReaderT especially was something I could see was colossally handy, but given it was in the second to last chapter we were already quite deep with trying to understand everything else so the true utility of it remains somewhat hazy despite the quality of the chapter itself which felt higher than those surrounding it. The habit of reading RFCs and attempting to match the spec in the types one writes is also one I should include in my general workflow, though that is probably a no-brainer for most. It just wasn't a thing in my previous work, so bear with me while I call it a novel concept!

I'm still working on my personal project, but getting nix-build working seems difficult. I'll just have to bring it up in the next main group Office Hours meetup I suppose, lest I never get this show on the road!

#haskell #nix

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