Comment

Comment by MPSimmons

I thought I knew python, but then I saw this:

    ?> sum::{+/x}  :" sum + over / the array x
    :monad
    ?> sum([1 2 3])
    6
    ?> count::{#x}
    :monad
    ?> count([1 2 3])
    3
What?
parent MPSimmons 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton