Better HN
topnewbestaskshowjobs
Log inSign up

jle

43 karma · joined Nov 13, 2013 (13y ago) · 25 submissions

[ my public key: https://keybase.io/mstksg; my proof: https://keybase.io/mstksg/sigs/WTA3Vj0xiiMQYgPlPD0TiO-WWnT6VyiSMRAlAvWOedE ]
Submissions

1.

LLMs Will Cheese Your Types: Fighting Back in Haskell(blog.jle.im ↗)

7 points · by jle · 4mo ago · discuss

2.

"Five-Point Haskell" Part 1: Total Depravity(blog.jle.im ↗)

5 points · by jle · 9mo ago · 1 comment

3.

The Baby Paradox in Haskell(blog.jle.im ↗)

4 points · by jle · 1y ago · discuss

4.

Faking ADTs and GADTs in languages that shouldn't have them(blog.jle.im ↗)

3 points · by jle · 1y ago · discuss

comment 1y ago · link · parent

Clearing up some common misunderstandings and easy to miss concepts

6.

Sum Types and Subtypes and Unions(blog.jle.im ↗)

2 points · by jle · 1y ago · 1 comment

7.

Functors to Monads: A Story of Shapes(blog.jle.im ↗)

2 points · by jle · 2y ago · discuss

8.

Haskell nuggets: functional k-means with dependent types(blog.jle.im ↗)

4 points · by jle · 2y ago · discuss

9.

Shuffling Things Up: Solving Advent of Code with Group Theory and Haskell(blog.jle.im ↗)

3 points · by jle · 6y ago · discuss

comment 7y ago · link · parent

when you think about it, not toooo surprising. Haskell's undeniable killer app is parsing and compilation, so pandoc was pretty much a project destined for Haskell if I ever saw one :)

comment 7y ago · link · parent

you don't need an ordered JSON for this. Just make sure that your equality tests ignore ordering, or that your and hash functions will hash two JSON objects with the same key but different order to the same hash.

comment 7y ago · link · parent

GoL wasn't used here because of any value or analogy... it's used as an example of how a simple set of rules can generate complex behavior. GoL can display complex behavior, but it would be a stretch to to say that the rules governing it are complex. If you think GoL is too simplistic, you are agreeing with the original comment.

comment 7y ago · link · parent

Amazing! :D Any information on the tech behind this? :)

14.

Solving Advent of Code Day 5 w Group Theory (free groups, group homomorphisms)(blog.jle.im ↗)

4 points · by jle · 7y ago · discuss

comment 8y ago · link · parent

That's not necessarily the definition of division, there are many commonly used definitions in different contracts that are different.

16.

A Purely Functional Typed Approach to Trainable Models(blog.jle.im ↗)

1 points · by jle · 8y ago · discuss

17.

Hamiltonian Dynamics: Breaking Down a Haskell Project with Physics and HMatrix(blog.jle.im ↗)

1 points · by jle · 8y ago · discuss

comment 9y ago · link · parent

Even if it's something we already knew, it's nice to see data confirming.

comment 11y ago · link · parent

You can programmatically put statements together, and manipulate them like real values. But that doesn't mean that pure simulated execution has to be a part of the API :)

comment 11y ago · link · parent

i feel like this alert should be in chinese for greatest effect

comment 11y ago · link · parent

yea, but the struggle isn't really quite with monads, but with syntax. properly understanding the syntax for do notation with use in IO does not require an understanding of monads.

comment 12y ago · link · parent

Thanks!

I do mention that instances of the Monad typeclass have to follow certain laws to make sure that they are "meaningful and useful"...I handwaved the actual laws away in the ambiguous interpretations of 'meaningful and useful' :) I made the choice that going into what that really meant would be beyond the scope of the article...but thanks for the comment :)

comment 12y ago · link · parent

Hi, author here; experimenting with some ways to explain two very useful concepts that I feel don't get enough mainstream popularity, despite being applicable to many languages :) Let me know if there are any obvious mistakes, awfully written sections, or questions :)

24.

Inside My World – Ode to Functor and Monad(blog.jle.im ↗)

12 points · by jle · 12y ago · 4 comments