Does anyone use for in production? I feel like if you break the mould even a little bit it becomes very difficult to work with. Talk some sense into me!

I have to learn sometime. I read it took inspiration from and I wanted to learn Rust anyway.

"Generics" and generic deriving in is some magic I have to learn about soon. `DeriveGeneric` just made implementing ToJSON and FromJSON very easy.

hackage.haskell.org/package/ae

I really needed to hear this talk.

It's about deciding how fancy and novel to let your Haskell code with relation to maintenance. Haskell has a lot of novel tools at its disposal. Each time you choose to use a novel tool you increase the learning curve not only for beginners, but also for your future self. Sometimes that trade odd is worth it.

I also learned about some cool libraries.

youtu.be/HCuCKeK1l6g

I just found out about this little function: `on`.

Easiest way to think about it:

((+) `on` f) x y = f x + f y

hackage.haskell.org/package/ba

I love !

I really like the idea of using literate (.lhs) for examples/documentation. I encountered that usage when playing around with some web socket library for :

github.com/jaspervdj/websocket

I was reading docs and I thought this line was funny because it really encapsulates most Haskell docs:

"Since Void values logically don't exist, this witnesses the logical reasoning tool of "ex falso quodlibet". "

Is it just me or is there a lot of code generation in Haskell libraries which feels like an annoying hack and workaround? Is this some kind of (I think?) workaround from other langs?

What's with the library? It's very useful and I'm grateful it exists for , but compared to some ORMs I've used it feels extremely counterintuitive and tedious and can't just "figure stuff out on its own." Maybe I'll grow to love it over time.

I'm writing some for a project I'm working on and it's making it apparent how 's has spoiled me.

I love , but sometimes the ecosystem feels brutal. Doctests are broken so now I have to use cabal-docspec, which is less simple to get working (at the moment [I believe this will just work with cabal doctests in the future], and which has weird limitations with how things are scoped and what can be imported.

I'm going to make a website that has a graphical representation of chat rooms. Which libraries should I look at? Miso? `websockets`? Any suggestions?

I recently talked about this very thing! It's wild what you can do with types in Haskell.

: sometimes you gotta manipulate and shuffle around some monads and functors/applicatives like a 4D Russian nesting doll.

`traverse` is a function that really shows that off. Picture related. Using `traverse` with `Either` and `Maybe` while inside a parser monad.

Has anyone ever released software for before? Or manage software releases? I have been doing static binaries because the deployment and packaging is way easier to manage, but apparently that's a really bad practice. I'm not sure how to make reliable software with dependencies when it's all dynamically linked.

Can I include some of the dynamically linked files too which can be replaced by the user's dependencies? How does that work? I'm new to the concept of compiling, really.

I made a setup where you manage your gopherhole by simply pushing updates to a git server and will rebuild it and I have tested and confirmed this works well.

This just needs cleaning up at this point.

github.com/hyperrealgopher/doc

Show older
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.