Monthly Ask Anything (July 2023)

3 years ago by jaror to c/haskell

Use this thread to ask any Haskell related questions which you think doesn't deserve a thread of their own. Ask away!

someacnt 2 points 3 years ago

Hello. I still cannot see this magazine from lemmy (specifically, sopuli.xyz). Does anyone know why? Is there a way I could fix this? Thank you!

path: 0 1205282, hotness: undefined, score: 2, children: 4
jaror 2 points 3 years ago path: 0 1205282 1299858, hotness: undefined, score: 2, children: 1
someacnt 2 points 3 years ago

I see, I will report soon. Could not find time to do so now, sadly

path: 0 1205282 1299858 1582663, hotness: undefined, score: 2, children: 0
demesisx 1 point 3 years ago

Sounds like that instance isn’t federated with kbin.social. I can see it just fine over here in infosec.pub

path: 0 1205282 1609331, hotness: undefined, score: 1, children: 0
jaror 1 point 3 years ago path: 0 1205282 1205737, hotness: undefined, score: 1, children: 0
kleidukos 0 points 3 years ago

Why must FinalizerPtr take a foreign function that uses the ccall calling convention? Is there a concrete thing preventing GHC from accepting capi?

path: 0 920507, hotness: undefined, score: 0, children: 1
glguy 1 point 3 years ago

I suspect that comment predates the existence of capi and is trying to avoid having some other actual calling convention like stdcall because the function pointer is actually invoked from some C code in the RTS. capi is a sort of pseudo-calling-convention in that it generates some C code and then calls that stub.

Have you tried using a capi defined funptr there to see what happens?

path: 0 920507 920508, hotness: undefined, score: 1, children: 0
tfcmad 0 points 3 years ago

Having learned Haskell in University, I've not yet used it in my role as a software developer.

What are the real world use cases for Haskell?

path: 0 1127812, hotness: undefined, score: 0, children: 1
jaror 1 point 3 years ago

I like to use https://www.libhunt.com/l/haskell to explore popular Haskell projects. The three projects with the most stars on GitHub are:

  • ShellCheck, which checks shell scripts for potential problems
  • Pandoc, which converts documents between different formats
  • Postgrest, which serves a REST API from postgres databases

There's also the State of the Haskell Ecosystem page which rates the level of maturity of different use-cases and programming needs.

path: 0 1127812 1127813, hotness: undefined, score: 1, children: 0
haskell
haskell

@kbin.social

login for more options
65
221
4

**The Haskell programming language community.** Daily news and info about all things Haskell related: practical stuff, theory, types, libraries, jobs, patches, releases, events and conferences and more... ### Links - Get Started with Haskell

go to feed...