Advertisement · 728 × 90

Posts by Tom

do you think its problematic?

1 year ago 2 0 0 0

for me the biggest misconception is that you need to know the intrinsics of monads to be able to use them.

i likely know less about the rules of my mother tongue than people who've studied it, yet i'm able to use it fluently

1 year ago 2 0 0 0

absolutely a blast to use, the only issues i've had are lsp-related but haven't really tried to debug

1 year ago 1 0 1 0

US green card granted

1 year ago 1 0 0 0

ah right, i think understand now. you were thinking more validating against the schema while teej's approach is essentially using ocaml as the source of truth

1 year ago 1 0 1 0
x.com

teej is building something like this where the queries refer to user defined types and give inline type errors (etc)

x.com/teej_dv/stat...

1 year ago 2 0 1 0

fwiw, reason supports named operators `let (let.bind) = Option.bind` (not sure the correct syntax but something along those lines at least), which i miss in ocaml

`let.bind x = …`
vs
`let* x = …`

1 year ago 2 0 1 0

hard agree, it's rad

1 year ago 1 0 0 0
Advertisement
Hazel, a live functional programming environment featuring typed holes. Hazel is a live functional programming environment featuring typed holes.

hazel.org's syntax imo combines the best of both worlds

1 year ago 1 0 1 0

bucklescript used |. for piping (pipe first) previously iirc

1 year ago 1 0 0 0

ngl, i don't hate it, feels like there'd be a lot of ambiguity to handle when parsing though

List.(
user.books
. map do_smth
. keep do_smth
)

1 year ago 1 0 2 0

for reasons unknown, i wrote a little article on getting to know ocaml by writing a simple diff checker

sketch.sh/s/i4HpNY61ih...

1 year ago 0 1 0 0

absolutely yes!

1 year ago 1 0 0 0

Hazel is really cool

1 year ago 2 0 0 0

haha, we know

1 year ago 2 0 0 0

sounds like you're carrying quite the bladder

1 year ago 3 0 2 0
Advertisement

they have instructions for lsp-setup on the preview page as well

1 year ago 1 0 0 0

not sure how helfpul, but using the developer preview i use this, i'm sure there's some other way, but ocaml-lsp-server is installed automatically

`dune tools exec ocamllsp —`
`dune tools exec ocamformat —`

preview.dune.build

can very much recommend it, no more opam switches etc

1 year ago 1 0 1 0
Preview
GitHub - lessp/react-ml-minimal-template Contribute to lessp/react-ml-minimal-template development by creating an account on GitHub.

wanted an extremly barebones setup to write ocaml + react (to js), perhaps it can be useful for someone else :) or ”get up and running with ocaml + react.js in under a minute”

github.com/lessp/react-...

1 year ago 10 3 0 0

the key for me here is that you can communicate that with more finesse and empathy, we're not robots yet :)

”hmm, have you tried looking at this from another angle? perhaps …”

1 year ago 2 0 0 0

yeah, diffing the two

(* a.txt *)
foo

(* b.txt *)
bar

1 year ago 0 0 0 0

diff a b
- foo
+ bar

1 year ago 0 0 1 0

diff checker

1 year ago 0 0 1 0

Antonio 🥹 true MVP

1 year ago 2 0 0 0
Advertisement

Tablecloth has a fantastic API imo, would push for that

1 year ago 3 0 1 0

it's priced in

1 year ago 1 0 0 0

ocaml hype train confirmed

1 year ago 2 0 0 0

Sabine Useocaml, don't even have to change your bluesky handle

1 year ago 2 0 2 0

go with your gut, and ”cross that bridge when you come to it” imo

ending up in these decision trees is a drag, i find it better to just go with an option even if it turns out it's not the best one :)

1 year ago 3 0 1 0

yes, and the error messages are usually quite a mouthful

1 year ago 3 0 0 0