News for hackers. Stuff that matters.

sjakobi

Re:Writing Parquet files using Haskell on Friday September 25, 2026 @11:41AM (#49846123)
In many cases it's possible to write Haskell that runs as fast as a given C implementation. However the result will usually not be idiomatic Haskell.
Re:What Functional Programmers Get Wrong About Systems on Tuesday February 10, 2026 @02:56PM (#46965896)
Wrong link?!
Re:Reasons to tour by bicycle on Tuesday June 21, 2022 @02:05PM (#31827111)
Hmm, that bike looks very much like Swapfiets' "Deluxe 7" model, which has a 7-gear hub, so not a single speed! The gears also explain why there are three wires leading to the handlebar (2 for the brakes + 1 for the gears).

Nevertheless, the lowest gear on that bike is still not much help on a steep ascend like this.

How does Lebanon lose from this project?
http://hackage.haskell.org/package/brick is popular in the Haskell world.
Re:On Marketing Haskell on Sunday May 31, 2020 @03:29AM (#23367903)
Re:On Marketing Haskell on Sunday May 31, 2020 @03:24AM (#23367880)
There a several companies who benefit massively from using Haskell, not least by attracting talent!

The most recent instance is probably Juspay: https://github.com/juspay

Re:On Marketing Haskell on Sunday May 31, 2020 @03:21AM (#23367864)
jdh30, the author of both comments, is a massive OCaml fanboy and Haskell hater. I've seen him try to take Haskell performance numbers and interpret them using the wrong units to make them look worse. I'd take anything that he says about Haskell with a big, big grain of salt!
Regarding build tools for C, you might find this one interesting:

https://github.com/vmchale/cpkg

> Hughes' pretty printer works really well for pretty-printing Haskell code, but Wadler's is more flexible for pretty-printing C-style languages where there is a dedented closing brace at the end of scopes.

That's very interesting! So far I've only used Wadler-Leijen-style prettyprinters.

Are Hughes-style pretty printers "better" in some way for Haskell-like documents? If so, why?

There's a similar blog post by Gabriel Gonzalez which focuses on the incentives set in Haskell:

http://www.haskellforall.com/2016/04/worst-practices-should-...

Re:SoundCloud raises $75M from SiriusXM on Wednesday February 12, 2020 @05:30PM (#22313525)
Thanks for mentioning BR Heimat! I didn't know I needed this! :)
Re:A Pythonista's Review of Haskell on Friday January 31, 2020 @11:15AM (#22202810)
FYI OP: I posted your review on r/haskell where it got several comments: https://www.reddit.com/r/haskell/comments/ewjnf4/a_pythonist...
Doctests are often useful to briefly demonstrate how something works: http://hackage.haskell.org/package/doctest

They are a bit finicky to set up though.

Another good resource: http://yannesposito.com/Scratch/en/blog/Haskell-Tutorials--a...

Hm, I'm afraid to say that I can't find a good resource on how to write and build docs for Haskell libraries. Maybe that's a tutorial you could write once you've figured it out?! ;)

Here are a few links though:

* https://ndmitchell.com/downloads/slides-drive-by_haskell_con...

* https://haskell-haddock.readthedocs.io/en/latest/markup.html

* https://docs.haskellstack.org/en/stable/build_command/#synon...

Also, maybe join the #haskell-beginners channel on Slack: https://fpchat-invite.herokuapp.com/

There are other platforms too though, e.g. https://www.reddit.com/r/haskellquestions/, https://discourse.haskell.org/

This sounds similar to the process used for some parts of Cardano. Duncan Coutts talked about this in this video:

https://www.youtube.com/watch?v=TZGVgNsJSnA

> Even Haskell doesn't get it right: there are no exhaustiveness checks on pattern matches

Just enable -Wincomplete-patterns or -Wall!

Re:A look back on OCaml since 2011 on Sunday September 22, 2019 @11:06AM (#21041678)
What are modular implicits?
Re:A look back on OCaml since 2011 on Sunday September 22, 2019 @11:04AM (#21041665)
What kind of compiler is it? What does it compile?

Are you the only person who has worked on it?

This appears to be the building that contained the machines:

https://www.google.de/maps/@49.4431182,11.0857279,3a,75y,31....

I found it via the "GlaserExpress" trailer that appears in a few pictures. I used to live nearby a decade ago.

How can you tell?
Re:Programming Languages on Thursday April 26, 2018 @04:33PM (#16935451)
In the article about non-Turing-complete languages, I kind of expected to find a mention of Dhall which is a fancy new programmable configuration language:

https://github.com/dhall-lang/dhall-lang

Re:Putting the I back in IDE on Thursday March 29, 2018 @07:47AM (#16706201)
Oh, I had never heard of that command before. Does it work well, i.e. does it improve your workflow?
Re:Reflecting on Haskell in 2017 on Monday December 04, 2017 @04:27PM (#15847666)
I'm not sure what that statement was based on. The stack project certainly still uses haddock to document its code.

At least some of the projects he cites also use readthedocs for user guides etc.

> How do I get (I mean, build in stack) my useful documentation?

Try

    stack haddock --open <packagename>
Re:From design patterns to category theory on Friday October 06, 2017 @01:25AM (#15414608)
https://github.com/hmemcpy/milewski-ctfp-pdf appears to have quite a few fans.
See my reply to a similar comment: https://news.ycombinator.com/item?id=13786992

Older »