Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
wbooze has joined #ocaml
_whitelogger has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
theze_ has joined #ocaml
Humean has quit [Ping timeout: 260 seconds]
theze_ has quit [Ping timeout: 260 seconds]
YuGiOhJCJ has joined #ocaml
bartholin has joined #ocaml
divya has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
gp88 has joined #ocaml
divya has joined #ocaml
Tuplanolla has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
Haudegen has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
Frostillicus has joined #ocaml
<hanker>
Is someone familiar with Markup.ml here? Is there a way to send raw (X|HT|whatever)ML through a Markup.ml stream?
<discocaml>
<lukstafi> I guess `A type variable is unbound in this type declaration. In type 'a the variable 'a is unbound` means I took a wrong turn much earlier on.
Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
<discocaml>
<octachron> The error is local to a type definition. There is not much "earlier on" in this case.
Anarchos has joined #ocaml
<discocaml>
<lukstafi> It was an LSP glitch, sorry for the noise.
Frostillicus has quit [Read error: Connection reset by peer]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
wingsorc has joined #ocaml
Everything has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Client Quit]
Frostillicus has joined #ocaml
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<discocaml>
<contificate> It's depressing to read HN threads about OCaml - as it always devolves into "but where's the jobs", as though there's no such thing as potentially learning something or programming recreationally.
<discocaml>
<contificate> I get that employment prospects are important, but this idea that a seasoned programmer couldn't spend an evening or weekend toying around with something to get a feel for it is crazy. There's people who have spent more time asking "should I learn OCaml" than it'd actually take them to learn the basics.
<deavmi>
Learning a language for fun is amazing
<deavmi>
Only reason I care to learn one tbh :)
<deavmi>
>There's people who have spent more time asking "should I learn OCaml" than it'd actually take them to learn the basics.
<deavmi>
This sort of debilitating procrastination is common too XD
<discocaml>
<contificate> Yeah, it's a sad state of affairs when you can't convince, say, a Java programmer that they might have their thinking changed by adopting a functional programming language in a minor way.
<deavmi>
Indeed
<deavmi>
I programmed a little in OCaml, intend to return to it properly again and actually write some software in it. It changed a lot about what I tyhink about in programming. The pattern matching and structural typing stuff is amazing. So it's worth learning.... moreso than Haskell in my view.
<discocaml>
<contificate> Even if you dislike a programming language, you should at least "know your enemy". There's people out here making assertions about all of FP, yet I wouldn't dare say anything overtly negative about - for example - Go; as I know very little about it.
Frostillicus has quit [Read error: Connection reset by peer]
<deavmi>
Yes, I was once one of those people ;)
<discocaml>
<contificate> I actually think Haskell does a disservice to onboarding new functional programmers.
<deavmi>
Then I just started learning OCaml
<deavmi>
I did actually enjjoy some of Haskell but I decided i'd never spend enough time learning how to use a monad so I ditched it. Maybe I'll return one day. oCaml is a lot nicer, and the stdlib feels very Clib-like so I feel at home albeit with a more powerful type system
<discocaml>
<contificate> Mostly because I've met people who think they are "too stupid" to learn OCaml because they've been deluded by misconceptions about Haskell. Anyone who mentions category theory in the same breath as monads (outside of an abstract algebra/CT course) needs to reevaluate things.
<deavmi>
Yes indeed,
<deavmi>
The introductory tutorial to OCaml doesn't even feel mathy (which is good)
<discocaml>
<jalsol> I was able to convince my friends to try OCaml and FP and they liked it
<deavmi>
It just feels like another language, complete with a package manager and build system. It's actually more "normie" than one would think (I mean normie not as a pejorative)
<discocaml>
<jalsol> I'm sure if they can try it then many people can
<hanker>
Is there a way to configure a program at build-time in OCaml? Like you would do -DSOMETHING=1 in C
<discocaml>
<jalsol> I don't think there's anything exactly the same, but there should be similar stuff ig?
<hanker>
Well, not necessarily using `-DSOMETHING`, but basically configuring an OCaml program at compile-time.
<discocaml>
<contificate> This was asked recently in this server. I suggested conditional compilation with dune rules, but there's a ppx rewriter I think
Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
<hanker>
I see, thank you
amirouche has quit [Ping timeout: 276 seconds]
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
Serpent7776 has joined #ocaml
theze_ has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Anarchos has joined #ocaml
humasect has quit [Remote host closed the connection]
humasect has joined #ocaml
Frostillicus has joined #ocaml
Everything has joined #ocaml
Everything has left #ocaml [#ocaml]
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
euphores has quit [Quit: Leaving.]
wbooze has quit [Read error: Connection reset by peer]
inline has quit [Read error: Connection reset by peer]
gp88 has quit [Ping timeout: 268 seconds]
humasect has quit [Remote host closed the connection]
Frostillicus has quit [Ping timeout: 252 seconds]
euphores has joined #ocaml
szkl has joined #ocaml
wbooze has joined #ocaml
wbooze has quit [Ping timeout: 252 seconds]
<discocaml>
<empathy.monster> Where does FP's obsession with repls come from?
<discocaml>
<contificate> Lisp, probably
<discocaml>
<empathy.monster> I'm addicted to utop. Currently working through SICP, but all of the Scheme repls have horrible UI. Anyone know any dialects with a nice one by chance?
<discocaml>
<contificate> I feel that REPLs in Scheme are largely subsumed by interactive plugins in editors
<discocaml>
<empathy.monster> I've just decided to do it all in utop so far lol