linuxusers.in is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Admin email
dharmiik@proton.me
Admin account
@dharmik@linuxusers.in

Search results for tag #haskell

HoldMyType boosted

José A. Alonso »
@Jose_A_Alonso@mathstodon.xyz

HoldMyType boosted

Cali Spera »
@calispera@babka.social

I don't understand why in they call pattern matching "structural pattern matching"

Is it different form th epattern matching I have, say, in scheme ?

Or in ?

HoldMyType boosted

std::usr::Baer<'λ, 🍪> »
@baer@fedi.social

please help me, haskell wizards

import qualified Data.Text.Lazy as T

fun :: IO T.Text 
...

main :: T.Text
main = do
  r <- fun
gives an error because the acutal type in main is IO T.Text
but I thought
<- would unwrap the IO
thanks for any help

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

HoldMyType boosted

Billy »
@billy@fosstodon.org

Another cool thing I'm enjoying with is that despite being a statically-typed, compiled language, it has an interpreter 🤯 I love using the Python interpreter for testing things out real quick but I always miss static typing when working in Python, and don't really use Python for more than simple scripts as a result. (I know, mypy is a thing, but I haven't gotten around to using it. I'm hesitant to do so based on my experiences with TypeScript)

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

@billy@fosstodon.org what’s the syntax of list comprehension in . show me.

HoldMyType boosted

Billy »
@billy@fosstodon.org

I started reading up on and list comprehensions look really cool. Definitely going to keep going down this rabbit hole

HoldMyType boosted

Woke Leftist Trash »
@agentultra@types.pl

The real reason I keep using Haskell for AoC are parser combinators.

Juan »
@reidrac@mastodon.gamedev.place

Dear people around here, can you remind me what is the release process / support of GHC?

I keep getting confused with the versions being released (they always feel like a lot of them to me 😂). Like, I'm on 9.6.6 -- can I stay on it and just update to 9.6.x? What am I missing out?

It makes me a bit anxious that this feels such a moving target 😅

Someone told me I could just use whatever Debian packages on stable and use that as a stable platform. Is that sound advice?

Thank you!

Abhinav 🌏 »
@abnv@fantastic.earth

I just completed "Mull It Over" - Day 3 - Advent of Code 2024 adventofcode.com/2024/day/3.

Check out my solution at github.com/abhin4v/AoC24/blob/.

This one required me to reach out to regular expressions. I could have parsed by hand too, but regex is more convenient.

Hacker News 50 » 🤖
@hn50@social.lansky.name

HoldMyType boosted

Jons Mostovojs »
@jonn@social.doma.dev

Ironically, after working for 2 years on a self-funded startup in tech hiring, I'm searching for a CTO position in the .

I will consider tech lead / sr. developer positions.

I slap – memorici.de/Jons_Mostovojs___C

José A. Alonso »
@Jose_A_Alonso@mathstodon.xyz

🗳

Abhinav 🌏 »
@abnv@fantastic.earth

SOMEHOW, I have found myself getting into writing (s), and I want to write an article about it. What would interest you most?

intr: Interpreter
DS: Data structure like list, vector, bytearray
BC: Bytecode

Tree-walking intrs in Haskell with different DSs:4
A comparison of BC intr in Haskell, Go and Clojure:1
An optimized BC intr in Haskell:3