u/kichiDsimp

How/Can I do it in Haskell ?
▲ 17 r/haskell

How/Can I do it in Haskell ?

Here is a big list of projects

https://github.com/codecrafters-io/build-your-own-x

And mostly are in C/Go/Rust.

Can I try them in Haskell ? I am a really beginner and I am able to do mostly Haskell in an immutable way but not the Monad/Functor part...

Like how to do Filesystem/Network/TCP etc ?!

Most Haskell tutorials are teaching about FP core immutability and HoF.

But the IO part, I have not gotten yet.

Can you folks help with it? And could I use LLM to translate these tutorials to Haskell to follow ?

u/kichiDsimp — 2 days ago
▲ 0 r/rust

Haskell compared to Rust/OCaml

How does Rust compare to Haskell/OCaml in 2026 ?!

In terms of things like

  • Tooling
  • Standard Library
  • Documentation
  • Production Use
  • Type System
  • Performance
  • Pragmatic
  • Compile Errors

I ask so because I have tried out Haskell and SML, but writing any IO/Network software in them is really complex. + I don't understand Haskell's IO Monad and etc, and what makes it pure and why not impure.I have tried quite hard. but coming to Rust, I really don't need the low level interface and I okay with a GC. With Haskell I am super comfortable untill the `IO` monad comes into the code, usually for things like AdventOfCode and etc.

reddit.com
u/kichiDsimp — 7 days ago

Haskell compared to Rust/OCaml

How does Haskell compare to Rust/OCaml in 2026 ?!

In terms of things like

Tooling

Standard Library

Documentation

Production Use

Type System

Performance

Pragmatic

Compile Errors

reddit.com
u/kichiDsimp — 8 days ago
▲ 16 r/haskell

Why does GHC tell `head` as partial but not `last` as partial ?

src/Day6.hs:22:26: warning: [GHC-63394] [-Wx-partial]
    In the use of ‘head’
    (imported from Prelude, but defined in GHC.Internal.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"."
   |
22 | parseLight xs = ((read . head) nums :: Int,(read . last) nums :: Int,)
   |                          ^^^^
reddit.com
u/kichiDsimp — 8 days ago

Installing ormolu took more than 10 minutes

Why installing a formatter took so long ? Did I do something wrong ?

npm i -g, go get , are really fast

the command I used cabal install ormolu

my env cabal-install version 3.14.2.0 The Glorious Glasgow Haskell Compilation System, version 9.14.1 Host: Mac15,6 OS: macOS 26.5 25F71 arm64 Kernel: 25.5. CPU: Apple M3 Pro

I faced similar issue when I tried installing pandoc.

reddit.com
u/kichiDsimp — 21 days ago
▲ 14 r/haskell

Which crypto library to use?

i am looking for a library to compute md5hash from a given string or a file. what library is right for it ? there seem to be multiple like

crypton cryptonite crypto-api

Isn't there a standard library like text or containers ?

reddit.com
u/kichiDsimp — 22 days ago

HLS, documentation/source links not working

I have tried Emacs (doom-emacs) and VSCode, both suffer from 2 different Issues. I do a hover on symbol String, and it gives the documentation for it in a popup. When I click on Source or Documentation, there are different things

In Emacs the link is file:///Users/krishnashagarwal/.ghcup/ghc/9.12.2/share/doc/ghc-9.12.2/html/libraries/ghc-internal-9.1202.0-7717/src/GHC.Internal.Base.html#t:String , which when clicked doesn't really do anything, instead of searching online, it tries to search locally and FAILS

In Vscode, the link is https://hackage.haskell.org/package/ghc-internal-9.1202.0-7717/docs/GHC-Internal-Base.html#t:String Which goes on internet, but goes to Page Not Found

GHC-Version: The Glorious Glasgow Haskell Compilation System, version 9.12.2 HLS-Version haskell-language-server version: 2.11.0.0 (GHC: 9.12.2) (PATH: /Users/krishnanshagarwal/.ghcup/bin/haskell-language-server-wrapper-2.11.0.0)

reddit.com
u/kichiDsimp — 11 months ago