News for hackers. Stuff that matters.

mchav

Re:I'm in a Meeting on Friday October 09, 2026 @09:11AM (#50019996)
Can we just be honest?
Re:Writing Parquet files using Haskell on Friday September 25, 2026 @04:07AM (#49841574)
Can these sorts of primitives be used to create broader "architectural" linters?
Re:Workers Cache on Monday July 06, 2026 @10:17AM (#48804971)
Great feature. Although I’m starting to get annoyed by obvious signs of LLM writing like no X, no Y etc.
Re:Show HN: Sabela – A Reactive Notebook for Haskell on Tuesday June 16, 2026 @07:52PM (#48563936)
A combination of vegalite and a custom plotting library with SVG output.

Show HN: Sabela – A Reactive Notebook for Haskell

https://sabela.datahaskell.com/

Sabela is a reactive notebook for Haskell. The name is the Ndebele word for "to respond." Cells respond to each other on change. Initially it was meant as a tool for working with data but it has turned out to have a lot of pedagogical value outside of data analysis work.There is a gallery to read through on the website and a number of examples in the repo showcasing things like:* Python...

( Read More... | 6 comments | 2 points | on HN )
Re:Pandas feels clunky coming from R. What about Haskell? on Wednesday April 22, 2026 @09:54AM (#47863678)
I think the original author picked this example to broadly illustrate how easy it is to make ad hoc changes to your query without worrying about lot about implementation details. Polars, for example, converges on a similar API and gives you the flexibility. You can iterate then refactor easily later to what you consider good practice.
Re:Dataframe 1.0.0.0 on Tuesday March 24, 2026 @01:10AM (#47498812)
Had always hoped for something like this since the days of Spark and Frameless. Better late than never.

Now hoping to build a bunch of Neuro symbolic AI on top of this.

Re:Dataframe 1.0.0.0 on Monday March 23, 2026 @06:53PM (#47496224)
No but something is in the works! We are building reactive notebooks that we will eventually give export capabilties.

You can try it from https://www.datahaskell.org/ under "try out our current stack"

Re:Dataframe 1.0.0.0 on Monday March 23, 2026 @10:24AM (#47489992)
Author here: Would have loved to but this is round about my wedding anniversary. Will ask some Haskell friends to submit though.
Re:Dataframe 1.0.0.0 on Monday March 23, 2026 @10:20AM (#47489937)
Author here. At the time I worked in fraud detection and we needed to automate file generation for our BRMS. Initially created this to experiment with “models as dataframe expressions” and Haskell is great for DSL-like stuff. That work is still on going: https://github.com/DataHaskell/symbolic-regression and dataframe has a native sparse oblique tree implementation.

As it’s grown it’s been pretty cool to have transparent schema transformations instead of every function mapping a statement a dataframe you can have function signatures like:

``` extract :: TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int, Column "comments" T.Text] -> TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int] -- body of extract

transform :: TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int] -> TypedDataFrame [Column "price" Double, Column "quantity" Int] -- body of transform

clean :: TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int, Column "comments" T.Text] -> TypedDataFrame [Column "price" Double, Column "quantity" Int] clean = transform . extract ```

But you can also do the simple thing too and only worry about type safety if you prefer:

``` df |> D.filterWhere (country_code .==. "JPN") |> D.select [F.name name] |> D.take 5 ```

Being able to work across that whole spectrum of type safety is pretty great.

Re:Comparing xeus-Haskell and ihaskell kernels on Saturday November 29, 2025 @02:46PM (#46090204)
RE Jupyter not having advanced features.

Yeah it's a bummer. It seems that notebooks that support these sort of "reactive" workflows are custom built around that model. Marimo, Pluto.jl, and observable are mostly language specific. Creating one would be non trivial.

Do you have your approach documented (tutorial style) anywhere?

Re:Comparing xeus-Haskell and ihaskell kernels on Saturday November 29, 2025 @02:43PM (#46090181)
The rule of thumb is somewhere between 5 and 10x difference. Which is large if you're going to do anything heavy but for most practical purposes it's fine. Roughly the difference between C and Python.